[libvirt PATCH v2 54/56] src: ensure use of g_printf / g_fprintf functions

Pavel Hrdina phrdina at redhat.com
Fri Jan 31 16:22:38 UTC 2020


On Tue, Jan 28, 2020 at 01:11:35PM +0000, Daniel P. Berrangé wrote:
> The printf/fprintf function impls provided on Windows do
> not follow the normal syntax for format specifiers as
> the UNIX hosts. Currently we use GNULIB to provide a
> portability fix for this. GLib has also imported the
> GNULIB impl for this same reason, and thus we can rely
> on the g_printf / g_fprintf functions.
> 
> This identified a couple of places not explicitly
> linking to glib.
> 
> Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
> ---
>  src/internal.h              | 14 ++++++++++++++
>  src/locking/Makefile.inc.am |  5 ++++-
>  2 files changed, 18 insertions(+), 1 deletion(-)

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200131/85b5f2bf/attachment-0001.sig>


More information about the libvir-list mailing list