about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Src/jobs.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index acbd4c582..208b3f6a1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-08-16  Wayne Davison  <wayned@users.sourceforge.net>
+
+	* 29650: Src/jobs.c: don't lose the the time info after a
+	suspend+restore.
+
 2011-08-15  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* 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;