From: Anthony Liguori <anthony@codemonkey.ws>
To: "Daniel P. Berrange" <berrange@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Use of asprintf() breaks build on systems where asprintf() is not available
Date: Wed, 11 Mar 2009 08:52:18 -0500 [thread overview]
Message-ID: <49B7C212.6080002@codemonkey.ws> (raw)
In-Reply-To: <20090311104809.GA23995@redhat.com>
Daniel P. Berrange wrote:
> 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.
>
That would be good too.
Regards,
Anthony Liguori
> Daniel
>
prev parent reply other threads:[~2009-03-11 13:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-10 21:38 [Qemu-devel] Use of asprintf() breaks build on systems where asprintf() is not available Palle Lyckegaard
2009-03-10 22:00 ` Anthony Liguori
2009-03-11 10:48 ` Daniel P. Berrange
2009-03-11 13:52 ` Anthony Liguori [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49B7C212.6080002@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=berrange@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).