Re: [Libvir] [PATCH] #2: Fix remote so that EPIPE errors are caught and reported

2007-07-04 Thread Richard W.M. Jones
Daniel P. Berrange wrote: On Tue, Jul 03, 2007 at 04:12:56PM +0100, Richard W.M. Jones wrote: Here we just fix the remote driver so that if the server goes down, the process doesn't die on SIGPIPE. This isn't thread safe. Changing signals with sigaction affects the entire process - so if you'v

Re: [Libvir] [PATCH] #2: Fix remote so that EPIPE errors are caught and reported

2007-07-03 Thread Daniel P. Berrange
On Tue, Jul 03, 2007 at 04:12:56PM +0100, Richard W.M. Jones wrote: > Here we just fix the remote driver so that if the server goes down, the > process doesn't die on SIGPIPE. This isn't thread safe. Changing signals with sigaction affects the entire process - so if you've got multiple threads run

[Libvir] [PATCH] #2: Fix remote so that EPIPE errors are caught and reported

2007-07-03 Thread Richard W.M. Jones
Here we just fix the remote driver so that if the server goes down, the process doesn't die on SIGPIPE. Rich. -- Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/ Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom.