aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/fhandler/pipe.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/fhandler/pipe.cc')
-rw-r--r--winsup/cygwin/fhandler/pipe.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler/pipe.cc b/winsup/cygwin/fhandler/pipe.cc
index 34b295c..852076c 100644
--- a/winsup/cygwin/fhandler/pipe.cc
+++ b/winsup/cygwin/fhandler/pipe.cc
@@ -574,8 +574,7 @@ fhandler_pipe_fifo::raw_write (const void *ptr, size_t len)
len1 = avail & ~(PIPE_BUF - 1);
else
len1 = 1 << (31 - __builtin_clzl (avail));
- if (!is_nonblocking ())
- short_write_once = true;
+ short_write_once = true;
}
if (isclosed ()) /* A signal handler might have closed the fd. */
{