diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Src/jobs.c | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 8afa7a877..40a22c395 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-05-05 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 35032: Src/jobs.c: update job status with process status if + process detected as continued. + 2015-05-05 Peter Stephenson <p.stephenson@samsung.com> * unposted: fix descriptions in previous commit (cosmetic). diff --git a/Src/jobs.c b/Src/jobs.c index 295f4c939..948f61b01 100644 --- a/Src/jobs.c +++ b/Src/jobs.c @@ -421,8 +421,10 @@ update_job(Job jn) for (pn = jn->procs; pn; pn = pn->next) { #ifdef WIFCONTINUED - if (WIFCONTINUED(pn->status)) + if (WIFCONTINUED(pn->status)) { + jn->stat &= ~STAT_STOPPED; pn->status = SP_RUNNING; + } #endif if (pn->status == SP_RUNNING) /* some processes in this job are running */ return; /* so no need to update job table entry */ |