From 2c9b4e769fbf04c402f2ac01752e52d81e51932e Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Tue, 16 Aug 2011 15:27:05 +0000 Subject: 29650: Don't lose time info after a suspend+restore. --- ChangeLog | 7 ++++++- Src/jobs.c | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index acbd4c582..208b3f6a1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-08-16 Wayne Davison + + * 29650: Src/jobs.c: don't lose the the time info after a + suspend+restore. + 2011-08-15 Peter Stephenson * unposted: Src/Modules/datetime.c: use pm->node.nam to get @@ -15265,5 +15270,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.5430 $ +* $Revision: 1.5431 $ ***************************************************** diff --git a/Src/jobs.c b/Src/jobs.c index fc586d5ac..f58735bb0 100644 --- a/Src/jobs.c +++ b/Src/jobs.c @@ -953,6 +953,8 @@ printjob(Job jn, int lng, int synch) if (skip_print) { if (jn->stat & STAT_DONE) { + if (should_report_time(jn)) + dumptime(jn); deletejob(jn); if (job == curjob) { curjob = prevjob; -- cgit 1.4.1