* * signal.cc (_pinfo::kill): Set this_process_state when process exists.
This commit is contained in:
		
							parent
							
								
									fdcae03c0f
								
							
						
					
					
						commit
						2d077d7c6d
					
				| 
						 | 
				
			
			@ -1,3 +1,8 @@
 | 
			
		|||
2011-04-17  Christopher Faylor  <me.cygwin2011@cgf.cx>
 | 
			
		||||
 | 
			
		||||
	* * signal.cc (_pinfo::kill): Set this_process_state when process
 | 
			
		||||
	exists.
 | 
			
		||||
 | 
			
		||||
2011-04-17  Christopher Faylor  <me.cygwin2011@cgf.cx>
 | 
			
		||||
 | 
			
		||||
	* signal.cc (_pinfo::kill): Return 0 when attempting to test for
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -229,6 +229,7 @@ _pinfo::kill (siginfo_t& si)
 | 
			
		|||
  if (exists ())
 | 
			
		||||
    {
 | 
			
		||||
      bool sendSIGCONT;
 | 
			
		||||
      this_process_state = process_state;
 | 
			
		||||
      if ((sendSIGCONT = (si.si_signo < 0)))
 | 
			
		||||
	si.si_signo = -si.si_signo;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue