Subject: Re: NetBSD sh and ksh trap and signal handling incompatibilities with ATT ksh93 and Bash
To: NetBSD User-Level Technical Discussion List <tech-userlevel@NetBSD.org>
From: David Laight <firstname.lastname@example.org>
Date: 09/28/2007 22:57:42
On Fri, Sep 28, 2007 at 03:50:05PM -0400, Greg A. Woods wrote:
> It also seems that in ksh93 trap handlers in functions are transient
> whereas in /bin/ksh they get set and left there when the function is
> executed. This is probably even harder to fix given the current
section 2.12 Shell Exection Environment says that the 'Current traps
set by trap' are part of the execution environmnet, so any set inside
functions are still global.
So ksh93 is non-conformant here.
David Laight: email@example.com