summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/pipe.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2009-01-27 05:21:08 +0000
committerChristopher Faylor <me@cgf.cx>2009-01-27 05:21:08 +0000
commit1ae0cd1335fd4874c7d3291e397d665cb4a19477 (patch)
tree79276873e271ba518611e3638e220548386c9eb4 /winsup/cygwin/pipe.cc
parentdcad81990b772be891c2b04e508a983cbd4da612 (diff)
downloadcygnal-1ae0cd1335fd4874c7d3291e397d665cb4a19477.tar.gz
cygnal-1ae0cd1335fd4874c7d3291e397d665cb4a19477.tar.bz2
cygnal-1ae0cd1335fd4874c7d3291e397d665cb4a19477.zip
* 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.
Diffstat (limited to 'winsup/cygwin/pipe.cc')
-rw-r--r--winsup/cygwin/pipe.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/pipe.cc b/winsup/cygwin/pipe.cc
index 43b34b6f4..787cc398d 100644
--- a/winsup/cygwin/pipe.cc
+++ b/winsup/cygwin/pipe.cc
@@ -26,6 +26,7 @@ fhandler_pipe::fhandler_pipe ()
: fhandler_base (), popen_pid (0), overlapped (NULL)
{
need_fork_fixup (true);
+ uninterruptible_io (true);
}
void