Ticket #24410: patch-jobs.c.diff
File patch-jobs.c.diff, 591 bytes (added by loumzie@…, 15 years ago) |
---|
-
src/cmd/ksh93/sh/jobs.
old new 322 322 #ifdef SIGTSTP 323 323 else 324 324 px=job_byjid(pw->p_job); 325 if(WIFSTOPPED(wstat)) 325 if(WIFCONTINUED(wstat) && wcontinued) 326 pw->p_flag &= ~(P_NOTIFY|P_SIGNALLED|P_STOPPED); 327 else if(WIFSTOPPED(wstat)) 326 328 { 327 329 if(px) 328 330 { … … 337 339 sh_fault(pw->p_exit); 338 340 continue; 339 341 } 340 else if (WIFCONTINUED(wstat) && wcontinued)341 pw->p_flag &= ~(P_NOTIFY|P_SIGNALLED|P_STOPPED);342 342 else 343 343 #endif /* SIGTSTP */ 344 344 {