[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: trap problem on bash 4.2
From: |
Chet Ramey |
Subject: |
Re: trap problem on bash 4.2 |
Date: |
Fri, 25 Mar 2011 14:14:05 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.14) Gecko/20110221 Thunderbird/3.1.8 |
On 3/21/11 8:46 AM, sky wrote:
> Bash Version: 4.2
> Patch Level: 8
> Release Status: release
>
> Description:
> I am a programmer working in Japan.
> I encountered an incompatibility between bash 4.2 and 4.1.
Thanks for the report. I made some changes in this area between bash-4.1
and bash-4.2 in response to a Posix interpretation:
http://austingroupbugs.net/view.php?id=53
I think Posix is ambiguous about the disposition of signals that are
ignored when a new shell or subshell is started, or at least open to
differing interpretations -- ksh93 behaves as bash-4.2 does, for instance,
where dash and mksh behave like bash-4.1 -- but I think it's better not to
deliberately introduce an incompatibility.
I will revert to the bash-4.1 behavior for the next release. This may
or may not come out as a patch to bash-4.2.
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/