[libvirt] g_error considered harmful

Marc-André Lureau marcandre.lureau at gmail.com
Tue Jan 17 13:19:47 UTC 2012


On Tue, Jan 17, 2012 at 2:05 PM, Christophe Fergeau <cfergeau at redhat.com> wrote:
> And I forgot to mention that the only remaining use of g_error are in
> gvir_init_object and gvir_init_config where it's probably acceptable to die
> if things didn't work as expected.

Not really, it would be better to return an error.

-- 
Marc-André Lureau




More information about the libvir-list mailing list