[PATCH 3/3] ash: use JOBS as the compile time option it actually is
Johannes Schindelin
Johannes.Schindelin at gmx.de
Fri Jul 14 20:04:04 UTC 2017
Hi Xabier,
On Fri, 14 Jul 2017, Xabier Oneca -- xOneca wrote:
> 2017-07-14 16:11 GMT+02:00 Johannes Schindelin <johannes.schindelin at gmx.de>:
> > @@ -4182,7 +4186,9 @@ dowait(int block, struct job *job)
> > goto out;
> > }
> > /* The process wasn't found in job list */
> > - if (JOBS && !WIFSTOPPED(status))
> > +#if JOBS
> > + if (!WIFSTOPPED(status))
> > +#endif
> > jobless--;
>
> Here the logic does change.
Whoops, you're right, the #endif should enclose the jobless--; statement.
Will fix,
Johannes
More information about the busybox
mailing list