Blame SOURCES/ksh-20120801-jobwait-sigstop.patch

0026a6
diff --git a/src/cmd/ksh93/sh/jobs.c b/src/cmd/ksh93/sh/jobs.c
0026a6
--- a/src/cmd/ksh93/sh/jobs.c
0026a6
+++ b/src/cmd/ksh93/sh/jobs.c
0026a6
@@ -1579,6 +1579,7 @@ int	job_wait(register pid_t pid)
0026a6
 					if( pw->p_exit!=SIGTTIN && pw->p_exit!=SIGTTOU)
0026a6
 						break;
0026a6
 
0026a6
+					tcsetpgrp(JOBTTY,pw->p_pgrp);
0026a6
 					killpg(pw->p_pgrp,SIGCONT);
0026a6
 				}
0026a6
 				else /* ignore stop when non-interactive */