Move job to front of most recently used job list when bg'd or fg'd.

This commit is contained in:
tjr 2002-05-31 12:35:34 +00:00
parent 7e9561b97a
commit 952d847c40

View File

@ -255,6 +255,7 @@ restartjob(struct job *jp)
if (jp->state == JOBDONE)
return;
setcurjob(jp);
INTOFF;
killpg(jp->ps[0].pid, SIGCONT);
for (ps = jp->ps, i = jp->nprocs ; --i >= 0 ; ps++) {