* exceptions.cc (sig_handle_tty_stop): Fix boneheaded mistake by using correct
check for parent state rather than inverted check mistakenly introduced on 2003-09-15.
This commit is contained in:
		| @@ -1,3 +1,9 @@ | |||||||
|  | 2004-01-23  Christopher Faylor  <cgf@redhat.com> | ||||||
|  |  | ||||||
|  | 	* exceptions.cc (sig_handle_tty_stop): Fix boneheaded mistake by using | ||||||
|  | 	correct check for parent state rather than inverted check mistakenly | ||||||
|  | 	introduced on 2003-09-15. | ||||||
|  |  | ||||||
| 2004-01-22  Brian Ford  <ford@vss.fsi.com> | 2004-01-22  Brian Ford  <ford@vss.fsi.com> | ||||||
|  |  | ||||||
| 	* fhandler_serial.cc (fhandler_serial::raw_write): Prevent a deadlock | 	* fhandler_serial.cc (fhandler_serial::raw_write): Prevent a deadlock | ||||||
|   | |||||||
| @@ -631,7 +631,7 @@ sig_handle_tty_stop (int sig) | |||||||
|   if (my_parent_is_alive ()) |   if (my_parent_is_alive ()) | ||||||
|     { |     { | ||||||
|       pinfo parent (myself->ppid); |       pinfo parent (myself->ppid); | ||||||
|       if (ISSTATE (parent, PID_NOCLDSTOP)) |       if (NOTSTATE (parent, PID_NOCLDSTOP)) | ||||||
| 	{ | 	{ | ||||||
| 	  siginfo_t si; | 	  siginfo_t si; | ||||||
| 	  si.si_signo = SIGCHLD; | 	  si.si_signo = SIGCHLD; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user