commited, thanks
Klemens Nanni([email protected]) on 2018.01.08 23:13:39 +0100:
> There were left behind in the recent unifdef JOB commit.
>
> diff --git a/bin/ksh/jobs.c b/bin/ksh/jobs.c
> index c2742ebf72c..7f528f7e68d 100644
> --- a/bin/ksh/jobs.c
> +++ b/bin/ksh/jobs.c
> @@ -921,7 +921,7 @@ j_async(void)
>
> /* Make j the last async process
> *
> - * If jobs are compiled in then this routine expects sigchld to be blocked.
> + * Expects sigchld to be blocked.
> */
> static void
> j_set_async(Job *j)
> @@ -957,7 +957,7 @@ j_set_async(Job *j)
>
> /* Start a job: set STARTED, check for held signals and set j->last_proc
> *
> - * If jobs are compiled in then this routine expects sigchld to be blocked.
> + * Expects sigchld to be blocked.
> */
> static void
> j_startjob(Job *j)
> @@ -979,7 +979,7 @@ j_startjob(Job *j)
> /*
> * wait for job to complete or change state
> *
> - * If jobs are compiled in then this routine expects sigchld to be blocked.
> + * Expects sigchld to be blocked.
> */
> static int
> j_waitj(Job *j,
> @@ -1103,7 +1103,7 @@ j_waitj(Job *j,
>
> /* SIGCHLD handler to reap children and update job states
> *
> - * If jobs are compiled in then this routine expects sigchld to be blocked.
> + * Expects sigchld to be blocked.
> */
> static void
> j_sigchld(int sig)
> @@ -1176,7 +1176,7 @@ finished:
> * and state are updated, asynchronous job notification is done and,
> * if unneeded, the job is removed.
> *
> - * If jobs are compiled in then this routine expects sigchld to be blocked.
> + * Expects sigchld to be blocked.
> */
> static void
> check_job(Job *j)
> @@ -1278,7 +1278,7 @@ check_job(Job *j)
> /*
> * Print job status in either short, medium or long format.
> *
> - * If jobs are compiled in then this routine expects sigchld to be blocked.
> + * Expects sigchld to be blocked.
> */
> static void
> j_print(Job *j, int how, struct shf *shf)
> @@ -1385,7 +1385,7 @@ j_print(Job *j, int how, struct shf *shf)
>
> /* Convert % sequence to job
> *
> - * If jobs are compiled in then this routine expects sigchld to be blocked.
> + * Expects sigchld to be blocked.
> */
> static Job *
> j_lookup(const char *cp, int *ecodep)
> @@ -1486,7 +1486,7 @@ static Proc *free_procs;
>
> /* allocate a new job and fill in the job number.
> *
> - * If jobs are compiled in then this routine expects sigchld to be blocked.
> + * Expects sigchld to be blocked.
> */
> static Job *
> new_job(void)
> @@ -1514,7 +1514,7 @@ new_job(void)
>
> /* Allocate new process struct
> *
> - * If jobs are compiled in then this routine expects sigchld to be blocked.
> + * Expects sigchld to be blocked.
> */
> static Proc *
> new_proc(void)
> @@ -1533,7 +1533,7 @@ new_proc(void)
> /* Take job out of job_list and put old structures into free list.
> * Keeps nzombies, last_job and async_job up to date.
> *
> - * If jobs are compiled in then this routine expects sigchld to be blocked.
> + * Expects sigchld to be blocked.
> */
> static void
> remove_job(Job *j, const char *where)
> @@ -1570,10 +1570,10 @@ remove_job(Job *j, const char *where)
> async_job = NULL;
> }
>
> -/* put j in a particular location (taking it out job_list if it is there
> - * already)
> +/* Put j in a particular location (taking it out of job_list if it is
> + * there already)
> *
> - * If jobs are compiled in then this routine expects sigchld to be blocked.
> + * Expects sigchld to be blocked.
> */
> static void
> put_job(Job *j, int where)
> @@ -1608,7 +1608,7 @@ put_job(Job *j, int where)
>
> /* nuke a job (called when unable to start full job).
> *
> - * If jobs are compiled in then this routine expects sigchld to be blocked.
> + * Expects sigchld to be blocked.
> */
> static int
> kill_job(Job *j, int sig)
> --
> 2.15.1
>
>