* fhandler.cc (fhandler_base::wait_overlapped): Set bytes to -1 on EINTR or

real error.
(fhandler_base::write_overlapped): Assume that bytes_written will contain
proper error value.
* pipe.cc (fhandler_pipe::fhandler_pipe): Set uninterruptible_io since signals
are handled by pipe functions now.
This commit is contained in:
Christopher Faylor
2009-01-27 05:21:08 +00:00
parent dcad81990b
commit 1ae0cd1335
3 changed files with 15 additions and 4 deletions

View File

@@ -26,6 +26,7 @@ fhandler_pipe::fhandler_pipe ()
: fhandler_base (), popen_pid (0), overlapped (NULL)
{
need_fork_fixup (true);
uninterruptible_io (true);
}
void