summaryrefslogtreecommitdiff
path: root/jobs.c
diff options
context:
space:
mode:
Diffstat (limited to 'jobs.c')
-rw-r--r--jobs.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/jobs.c b/jobs.c
index 45ee572d..f517a248 100644
--- a/jobs.c
+++ b/jobs.c
@@ -863,7 +863,7 @@ pshash_delindex (psi)
*bucket = ps->bucket_next; /* deleting chain head in hash table */
}
- /* clear out this cell, just in case */
+ /* clear out this cell, in case it gets reused. */
ps->pid = NO_PID;
ps->bucket_next = ps->bucket_prev = NO_PIDSTAT;
}
@@ -4771,6 +4771,13 @@ unfreeze_jobs_list ()
jobs_list_frozen = 0;
}
+void
+set_jobs_list_frozen (s)
+ int s;
+{
+ jobs_list_frozen = s;
+}
+
/* Allow or disallow job control to take place. Returns the old value
of job_control. */
int