* pipe.cc (fhandler_pipe::hit_eof): Return correct value when there is no EOF
event available.
This commit is contained in:
		| @@ -1,3 +1,8 @@ | |||||||
|  | Fri Sep 28 01:50:09 2001  Christopher Faylor <cgf@cygnus.com> | ||||||
|  |  | ||||||
|  | 	* pipe.cc (fhandler_pipe::hit_eof): Return correct value when there is | ||||||
|  | 	no EOF event available. | ||||||
|  |  | ||||||
| Sat Sep 28 00:34:00 2001  Corinna Vinschen <corinna@vinschen.de> | Sat Sep 28 00:34:00 2001  Corinna Vinschen <corinna@vinschen.de> | ||||||
|  |  | ||||||
| 	* mmap.cc (mmap): Move setting the access after evaluating fd. | 	* mmap.cc (mmap): Move setting the access after evaluating fd. | ||||||
|   | |||||||
| @@ -75,7 +75,7 @@ fhandler_pipe::hit_eof () | |||||||
|   char buf[80]; |   char buf[80]; | ||||||
|   HANDLE ev; |   HANDLE ev; | ||||||
|   if (!orig_pid) |   if (!orig_pid) | ||||||
|     return bg_ok; |     return false; | ||||||
|   __small_sprintf (buf, pipeid_fmt, orig_pid, id); |   __small_sprintf (buf, pipeid_fmt, orig_pid, id); | ||||||
|   if ((ev = OpenEvent (EVENT_ALL_ACCESS, FALSE, buf))) |   if ((ev = OpenEvent (EVENT_ALL_ACCESS, FALSE, buf))) | ||||||
|     CloseHandle (ev); |     CloseHandle (ev); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user