On Tue, Mar 10, 2009 at 05:00:25PM -0500, Anthony Liguori wrote:
Palle Lyckegaard wrote:
Hi,
A few source-files, e.g. vnc.c, makes use of the (non-portable?)
asprintf() function, which is not available in e.g. Solaris 10 and
certain builds of OpenSolaris.
What would be the proper "qemu" way of solving this problem? Creating
a library with the functions not avilable on the host system or
replacing the non-portable use(s) of the function(s) with proper
portable function(s)?
Can you send in a patch to add the gnulib asprintf() with an appropriate
configure test?
I think it is just easier to remove the use of asprinf() from vnc.c It is
only used once and not really all that hard to remove.