[libvirt] [PATCH] Introduce virFilePrintf() as a portable fprintf()

Eric Blake eblake at redhat.com
Fri May 17 14:34:09 UTC 2013


On 05/17/2013 08:11 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> We can't use GNULIB's fprintf-posix due to licensing
> incompatibilities. We do already have a portable
> formatting via virAsprintf() which we got from GNULIB
> though. We can use to create a virFilePrintf() function.
> 
> But really gnulib could just provide a 'fprintf'
> module, that depended on just its 'asprintf' module.

I'll pursue that course of action in gnulib today; it may be a lot
simpler than forbidding fprintf throughout libvirt.  Potential NACK if I
can post a gnulib solution in a timely manner.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130517/754fe968/attachment-0001.sig>


More information about the libvir-list mailing list