ksh/ksh93-sigcont.dif

14 lines
335 B
Plaintext

--- src/cmd/ksh93/sh/jobs.c
+++ src/cmd/ksh93/sh/jobs.c 2007-03-28 13:08:21.148883284 +0200
@@ -275,7 +275,10 @@ static int job_reap(register int sig)
continue;
}
else if (WIFCONTINUED(wstat) && wcontinued)
+ {
pw->p_flag &= ~(P_NOTIFY|P_SIGNALLED|P_STOPPED);
+ pw->p_exit = 0;
+ }
else
#endif /* SIGTSTP */
{