Daniel P. Berrangé bb9a1a14e2 util: use glib string allocation/formatting functions
Convert the string duplication APIs to use the g_strdup family of APIs.

We previously used the 'strdup-posix' gnulib module because mingw does
not set errno to ENOMEM on failure

We previously used the 'strndup' gnulib module because this function
does not exist on mingw.

We previously used the 'vasprintf' gnulib module because of many GNU
supported format specifiers not working on non-Linux platforms. glib's
own equivalent standardizes on GNU format specifiers too.

Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2019-10-14 10:54:42 +01:00
..
2016-11-21 13:15:12 +01:00
2019-07-31 11:46:31 +02:00
2019-06-20 17:01:44 +02:00
2019-08-29 12:46:33 +01:00
2017-10-16 10:22:34 +01:00
2019-09-03 15:37:54 -06:00
2018-05-03 12:40:37 +01:00
2019-04-09 16:59:49 +02:00
2019-09-03 15:37:54 -06:00
2019-08-28 13:39:26 +02:00
2018-12-17 17:52:46 +01:00
2018-12-17 17:52:46 +01:00
2019-08-28 13:39:26 +02:00
2019-08-28 13:39:26 +02:00
2018-04-01 17:42:29 +02:00
2017-08-02 15:00:28 -04:00
2019-08-28 13:39:26 +02:00
2019-07-09 10:42:39 -05:00