* pipe.cc (fhandler_pipe::hit_eof): Return correct value when there is no EOF

event available.
This commit is contained in:
Christopher Faylor
2001-09-28 06:06:45 +00:00
parent f4f30cf140
commit 9c61aed684
2 changed files with 6 additions and 1 deletions

View File

@@ -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);