bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Broken PIPESTATUS with --disable-job-control


From: Chet Ramey
Subject: Re: Broken PIPESTATUS with --disable-job-control
Date: Sun, 18 Sep 2016 21:04:40 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

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.

> 
> 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?

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]