From 9c61aed684d15af5348870fcb271ca20dbc51e9b Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 28 Sep 2001 06:06:45 +0000 Subject: * pipe.cc (fhandler_pipe::hit_eof): Return correct value when there is no EOF event available. --- winsup/cygwin/pipe.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/pipe.cc') 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); -- cgit v1.2.3