Re: [libvirt] [PATCH v2 4/4] util: make string functions abort on OOM

2019-09-12 Thread Michal Privoznik
On 9/12/19 1:31 PM, Daniel P. Berrangé wrote: The functions are left returning an "int" to avoid an immediate big-bang cleanup. They'll simply never return anything other than 0. Reviewed-by: Ján Tomko Signed-off-by: Daniel P. Berrangé --- src/util/virstring.c | 93 +++---

[libvirt] [PATCH v2 4/4] util: make string functions abort on OOM

2019-09-12 Thread Daniel P . Berrangé
The functions are left returning an "int" to avoid an immediate big-bang cleanup. They'll simply never return anything other than 0. Reviewed-by: Ján Tomko Signed-off-by: Daniel P. Berrangé --- src/util/virstring.c | 93 +++- src/util/virstring.h | 73 +++