[libvirt] [libvirt-glib 1/2] Add gvir_set_error[_literal]

Daniel P. Berrange berrange at redhat.com
Mon Dec 5 11:29:30 UTC 2011


On Sat, Dec 03, 2011 at 12:39:20AM +0100, Christophe Fergeau wrote:
> They mirror g_set_error[_literal] functionality but append the
> error reported by libvirt to the error message.
> ---
>  libvirt-glib/libvirt-glib-error.c |   49 +++++++++++++++++++++++++++++++++++++
>  libvirt-glib/libvirt-glib-error.h |   11 ++++++++
>  libvirt-glib/libvirt-glib.sym     |    2 +
>  3 files changed, 62 insertions(+), 0 deletions(-)

Opps, yet more overlap between us. My patch covers the same, but also
adds a 'gvir_set_error_valist' impl

> +	gvir_set_error;
> +	gvir_set_error_literal;

https://www.redhat.com/archives/libvir-list/2011-December/msg00191.html

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list