bug-bash
[Top][All Lists]
Advanced

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

Re: Incorrect "jobs" output after "trap ... ERR" command


From: Chet Ramey
Subject: Re: Incorrect "jobs" output after "trap ... ERR" command
Date: Thu, 08 Jan 2015 12:51:37 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

On 1/7/15 3:57 PM, Keith Thompson wrote:
> I've discovered a bash bug that causes the "jobs" command to produce
> incorrect output after an ERR trap has been defined and triggered.
> I've seen it with bash 4.3.11(1)-release on Linux Mint 17 and bash
> 4.3.30(1)-release on Debian 6.
> I have *not* seen it with 3.2.25(1)-release on CentOS 5.10.
> 
> The demonstration is interactive; you have to interrupt the "cat" command
> by typing Control-C, and you have
> to run the "jobs" command before the "sleep" commands expire.

Thanks for the report.  This will be fixed in the next release of bash.

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



reply via email to

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