[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Use of asprintf() breaks build on systems where asprint
From: |
Daniel P. Berrange |
Subject: |
Re: [Qemu-devel] Use of asprintf() breaks build on systems where asprintf() is not available |
Date: |
Wed, 11 Mar 2009 10:48:09 +0000 |
User-agent: |
Mutt/1.4.1i |
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.
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|