[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Broken PIPESTATUS with --disable-job-control
From: |
Felix Janda |
Subject: |
Re: Broken PIPESTATUS with --disable-job-control |
Date: |
Sun, 18 Sep 2016 23:20:20 -0400 |
User-agent: |
Mutt/1.6.1 (2016-04-27) |
Chet Ramey wrote:
> On 9/17/16 1:27 PM, Felix Janda wrote:
> > Hello,
> >
> > below this mail you can find a minimal script misbehaving when
> > job-control is configured out (tested on linx with different archs,
> > libc's, and versions (including current git)).
>
> Yes. PIPESTATUS doesn't really have any valid values when the shell
> is compiled without job control. The internal machinery to set it
> doesn't exist.
Ok.
> >
> > Notice that the configure script disables job-control when a run-time
> > test (which could easily be a built-time test) fails. So by default,
> > a cross-compiled bash will have this bug.
>
> Which test?
I am referring to BASH_SYS_JOB_CONTROL_MISSING.
Thanks,
Felix