bug-bash
[Top][All Lists]
Advanced

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

Re: Odd bugs when no job control support


From: Chet Ramey
Subject: Re: Odd bugs when no job control support
Date: Wed, 3 Aug 2016 10:35:45 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

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



reply via email to

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