[Libvir] [PATCH] Add signal-safe read/write wrappers

2007-08-13 Thread Jim Paris
Adds saferead() and safewrite(), which are like read() and write() except that they retry in case of EINTR. Signed-off-by: Jim Paris [EMAIL PROTECTED] --- src/util.c | 37 + src/util.h |2 ++ 2 files changed, 39 insertions(+), 0 deletions(-) diff --git

Re: [Libvir] [PATCH] Add signal-safe read/write wrappers

2007-08-13 Thread Daniel P. Berrange
On Mon, Aug 13, 2007 at 02:17:08PM -0400, Jim Paris wrote: Adds saferead() and safewrite(), which are like read() and write() except that they retry in case of EINTR. Good stuff, committed to CVS. Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|