Re: [libvirt] [PATCH v3] glibcompat: Reimplement g_strdup_printf() and g_strdup_vprintf()

2019-10-18 Thread Ján Tomko
On Fri, Oct 18, 2019 at 02:40:41PM +0200, 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 Privo

Re: [libvirt] [PATCH v3] glibcompat: Reimplement g_strdup_printf() and g_strdup_vprintf()

2019-10-18 Thread Daniel P . Berrangé
On Fri, Oct 18, 2019 at 02:40:41PM +0200, 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: Mi

[libvirt] [PATCH v3] glibcompat: Reimplement g_strdup_printf() and g_strdup_vprintf()

2019-10-18 Thread Michal Privoznik
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 --- Diff to v3: - fixed infinite recursion src/internal.h