Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-09-28 10:06:45 +0400
committerChristopher Faylor <me@cgf.cx>2001-09-28 10:06:45 +0400
commit9c61aed684d15af5348870fcb271ca20dbc51e9b (patch)
treeea5be84cff4f2566e92f86dd12e87bb49d7b7bbd /winsup/cygwin/pipe.cc
parentf4f30cf14087c45ace30dd5bc2dfeabb1a983001 (diff)
* pipe.cc (fhandler_pipe::hit_eof): Return correct value when there is no EOF
event available.
Diffstat (limited to 'winsup/cygwin/pipe.cc')
-rw-r--r--winsup/cygwin/pipe.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/pipe.cc b/winsup/cygwin/pipe.cc
index aab242b89..1166b511d 100644
--- a/winsup/cygwin/pipe.cc
+++ b/winsup/cygwin/pipe.cc
@@ -75,7 +75,7 @@ fhandler_pipe::hit_eof ()
char buf[80];
HANDLE ev;
if (!orig_pid)
- return bg_ok;
+ return false;
__small_sprintf (buf, pipeid_fmt, orig_pid, id);
if ((ev = OpenEvent (EVENT_ALL_ACCESS, FALSE, buf)))
CloseHandle (ev);