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 c...@case.edu http://cnswww.cns.cwru.edu/~chet/