]> xenbits.xensource.com Git - libvirt.git/commit
Introduce virFilePrintf() as a portable fprintf()
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 17 May 2013 14:11:24 +0000 (15:11 +0100)
committerEric Blake <eblake@redhat.com>
Fri, 31 May 2013 16:51:33 +0000 (10:51 -0600)
commita261996255037f7ca0bab1ae5c22608e32a0abe3
tree436b164480a2a9f59656bcb92f7a107eed282bbc
parentfae2505eee50a4c8d7186c3be94c7cb764177fb8
Introduce virFilePrintf() as a portable fprintf()

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.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/libvirt_private.syms
src/util/virfile.c
src/util/virfile.h
tests/fdstreamtest.c
tests/virstringtest.c