Re: [PATCH] poll, select: handle ERROR_BROKEN_PIPE.

2010-08-23 Thread Erik Faye-Lund
On Mon, Aug 23, 2010 at 9:46 AM, Paolo Bonzini wrote: > Hi Erik, this is what I'm applying. > > * lib/poll.c (win32_compute_revents): Return POLLHUP when > PeekNamedPipe fails with ERROR_BROKEN_PIPE. > * lib/select.c (win32_compute_revents): Do not mark a pipe > as writeable if PeekNamedPipe fails

[PATCH] poll, select: handle ERROR_BROKEN_PIPE.

2010-08-23 Thread Paolo Bonzini
Hi Erik, this is what I'm applying. * lib/poll.c (win32_compute_revents): Return POLLHUP when PeekNamedPipe fails with ERROR_BROKEN_PIPE. * lib/select.c (win32_compute_revents): Do not mark a pipe as writeable if PeekNamedPipe fails with ERROR_BROKEN_PIPE. --- ChangeLog|9 + lib/p