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

Eric Blake eblake at redhat.com
Fri May 31 16:47:10 UTC 2013


On 05/17/2013 08:34 AM, Eric Blake wrote:
> 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.

I'm still working that angle, but it's no longer timely; now that we hit
rc2, any gnulib update must wait until post-release.  Therefore, I've
gone ahead and committed your patch for the sake of a clean mingw build
for 1.0.6.

-- 
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/20130531/c83a1b78/attachment-0001.sig>


More information about the libvir-list mailing list