On 7/31/16 1:46 PM, Olivier Brunel wrote: > Hi, > > (Please Cc me as I'm not subscribed to the list; Thank you.) > > So I was cross-compiling bash (version 4.3.42(1)-release, > x86_64-pc-linux-musl) and came accross some "odd" bugs. It's not quite > easy to describe how they occur, so let me use a script to help: > > ---8<------------------------------- > #!/usr/bin/bash > > foo() { > while read; do > echo ERROR > done < <(true) > } > > echo before > foo
Thanks for the report. This was reported and fixed back in January, 2016: http://lists.gnu.org/archive/html/bug-bash/2016-01/msg00063.html Chet -- ``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/