* pinfo.cc (_pinfo::exists): Check for PID_REAPED.
This commit is contained in:
		| @@ -1,3 +1,7 @@ | |||||||
|  | 2011-05-05  Christopher Faylor  <me.cygwin2011@cgf.cx> | ||||||
|  |  | ||||||
|  | 	* pinfo.cc (_pinfo::exists): Check for PID_REAPED. | ||||||
|  |  | ||||||
| 2011-05-05  Corinna Vinschen  <corinna@vinschen.de> | 2011-05-05  Corinna Vinschen  <corinna@vinschen.de> | ||||||
|  |  | ||||||
| 	* fhandler_disk_file.cc (fhandler_disk_file::pread): Correctly return | 	* fhandler_disk_file.cc (fhandler_disk_file::pread): Correctly return | ||||||
|   | |||||||
| @@ -428,7 +428,7 @@ _pinfo::set_ctty (tty_min *tc, int flags, fhandler_termios *arch) | |||||||
| bool __stdcall | bool __stdcall | ||||||
| _pinfo::exists () | _pinfo::exists () | ||||||
| { | { | ||||||
|   return this && !(process_state & PID_EXITED); |   return this && !(process_state & (PID_EXITED | PID_REAPED)); | ||||||
| } | } | ||||||
|  |  | ||||||
| bool | bool | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user