diff options
author | tjr <tjr@FreeBSD.org> | 2002-05-31 13:10:38 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2002-05-31 13:10:38 +0000 |
commit | c828fbddc6883504c05fa84e43837509e1f4a2b5 (patch) | |
tree | 48d69810dc40b0051a13976b8debee2f8820e365 /bin | |
parent | 5250eaebaca3cf92c4038b167f5ce0d6cf722541 (diff) | |
download | FreeBSD-src-c828fbddc6883504c05fa84e43837509e1f4a2b5.zip FreeBSD-src-c828fbddc6883504c05fa84e43837509e1f4a2b5.tar.gz |
#if JOBS around a job control-related statement to allow compilation with
job control disabled.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/sh/jobs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/sh/jobs.c b/bin/sh/jobs.c index 1fdb933..fc92e65 100644 --- a/bin/sh/jobs.c +++ b/bin/sh/jobs.c @@ -529,7 +529,9 @@ makejob(union node *node __unused, int nprocs) INTOFF; if (njobs == 0) { jobtab = ckmalloc(4 * sizeof jobtab[0]); +#if JOBS jobmru = NULL; +#endif } else { jp = ckmalloc((njobs + 4) * sizeof jobtab[0]); memcpy(jp, jobtab, njobs * sizeof jp[0]); |