Re: [libvirt] [PATCH v3 18/19] util: replace strerror/strerror_r with g_strerror

2019-10-10 Thread Ján Tomko
On Thu, Oct 10, 2019 at 11:54:12AM +0100, Daniel P. Berrangé wrote: g_strerror is offers the safety/correctness benefits of strerror_r, with the API design convenience of strerror. Use of virStrerror should be eliminated through the codebase in favour of g_strerror. commandhelper.c is a

[libvirt] [PATCH v3 18/19] util: replace strerror/strerror_r with g_strerror

2019-10-10 Thread Daniel P . Berrangé
g_strerror is offers the safety/correctness benefits of strerror_r, with the API design convenience of strerror. Use of virStrerror should be eliminated through the codebase in favour of g_strerror. commandhelper.c is a special case as its a tiny single threaded test program, not linked to glib,