Re: [Qemu-devel] [PATCH] ui: Replace non-portable asprintf by g_strdup_printf

2013-01-26 Thread Andreas Färber
Am 16.01.2013 18:38, schrieb Stefan Weil: > Signed-off-by: Stefan Weil > --- > > This code is untested because I don't have a Mac available. > Portability is unimportant here (it's only for cocoa), > but I replaced asprintf nevertheless for the sake of > uniformity of QEMU's code. Builds fine. T

[Qemu-devel] [PATCH] ui: Replace non-portable asprintf by g_strdup_printf

2013-01-16 Thread Stefan Weil
Signed-off-by: Stefan Weil --- This code is untested because I don't have a Mac available. Portability is unimportant here (it's only for cocoa), but I replaced asprintf nevertheless for the sake of uniformity of QEMU's code. Regards, Stefan Weil ui/cocoa.m |6 +++--- 1 file changed, 3 ins