[Libvir] [PATCH] Fix warn_unused_result when compiling with latest glibc

2007-03-26 Thread Richard W.M. Jones
I'm not sure if this is the right way to solve this, but it is a way. Rich. Index: qemud/qemud.c === RCS file: /data/cvs/libvirt/qemud/qemud.c,v retrieving revision 1.34 diff -u -r1.34 qemud.c --- qemud/qemud.c 22 Mar 2007 18:30:57

Re: [Libvir] [PATCH] Fix warn_unused_result when compiling with latest glibc

2007-03-26 Thread Daniel Veillard
On Mon, Mar 26, 2007 at 03:39:51PM +0100, Richard W.M. Jones wrote: I'm not sure if this is the right way to solve this, but it is a way. we should test the return value to check for an error there, the unfortunate thing is that since we are in a signal handler there isn't much we can do, I

Re: [Libvir] [PATCH] Fix warn_unused_result when compiling with latest glibc

2007-03-26 Thread Richard W.M. Jones
Daniel Veillard wrote: On Mon, Mar 26, 2007 at 03:39:51PM +0100, Richard W.M. Jones wrote: I'm not sure if this is the right way to solve this, but it is a way. we should test the return value to check for an error there, the unfortunate thing is that since we are in a signal handler there

Re: [Libvir] [PATCH] Fix warn_unused_result when compiling with latest glibc

2007-03-26 Thread Daniel P. Berrange
On Mon, Mar 26, 2007 at 04:22:33PM +0100, Richard W.M. Jones wrote: Daniel Veillard wrote: On Mon, Mar 26, 2007 at 03:39:51PM +0100, Richard W.M. Jones wrote: I'm not sure if this is the right way to solve this, but it is a way. we should test the return value to check for an error there,

Re: [Libvir] [PATCH] Fix warn_unused_result when compiling with latest glibc

2007-03-26 Thread Daniel Veillard
On Mon, Mar 26, 2007 at 04:22:33PM +0100, Richard W.M. Jones wrote: Daniel Veillard wrote: On Mon, Mar 26, 2007 at 03:39:51PM +0100, Richard W.M. Jones wrote: I'm not sure if this is the right way to solve this, but it is a way. we should test the return value to check for an error there,