Re: g_error considered harmful

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 17, 2012 at 2:05 PM, Christophe Fergeau <cfergeau@xxxxxxxxxx> 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]