Re: [libvirt] [PATCH 01/11] Block SIGPIPE around virExec hook functions

2011-01-28 Thread Daniel P. Berrange
On Fri, Jan 28, 2011 at 09:32:42AM -0700, Eric Blake wrote: > On 01/24/2011 08:13 AM, Daniel P. Berrange wrote: > > Some functionality run in virExec hooks may do I/O which > > can trigger SIGPIPE. Renable SIGPIPE blocking around the > > hook function > > > * src/util/util.c: Block SIGPIPE around

Re: [libvirt] [PATCH 01/11] Block SIGPIPE around virExec hook functions

2011-01-28 Thread Eric Blake
On 01/24/2011 08:13 AM, Daniel P. Berrange wrote: > Some functionality run in virExec hooks may do I/O which > can trigger SIGPIPE. Renable SIGPIPE blocking around the > hook function > * src/util/util.c: Block SIGPIPE around hooks > -if (hook) > +if (hook) { > +/* virFork reset al

[libvirt] [PATCH 01/11] Block SIGPIPE around virExec hook functions

2011-01-24 Thread Daniel P. Berrange
Some functionality run in virExec hooks may do I/O which can trigger SIGPIPE. Renable SIGPIPE blocking around the hook function * src/util/util.c: Block SIGPIPE around hooks --- src/util/util.c | 24 +++- 1 files changed, 23 insertions(+), 1 deletions(-) diff --git a/src/ut