[libvirt] [PATCH 1/2] virstring: Reimplement g_strdup_printf() and g_strdup_vprintf()

Eric Blake eblake at redhat.com
Fri Oct 18 16:51:41 UTC 2019


On 10/18/19 3:16 AM, Michal Privoznik wrote:
> These functions don't really abort() on OOM. The fix was merged
> upstream, but not in the minimal version we require. Provide our
> own implementation which can be removed once we bump the minimal
> version.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
> 

> +
> +/* Due to a bug in glib, g_strdup_printf() nor g_strdup_vprintf()

Missing 'neither' after the comma

> + * abort on OOM.  It's fixed in glib's upstream. Provide our own
> + * implementation until the fix get's distributed. */

s/get's/gets/

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org




More information about the libvir-list mailing list