Subject: Re: CVS commit: src/bin/sh (trap.c:1.32)
To: None <current-users@NetBSD.org>
From: David Young <email@example.com>
Date: 07/14/2005 23:07:12
On Fri, Jul 15, 2005 at 02:32:52AM +0000, Geoff Wing wrote:
> Christos Zoulas <firstname.lastname@example.org> typed:
> : In article <email@example.com>,
> : Geoff Wing <firstname.lastname@example.org> wrote:
> :>Christos Zoulas <email@example.com> typed:
> :>: Modified Files:
> :>: src/bin/sh: trap.c
> :>: Log Message:
> :>: Don't hard ignore signals that were ignored by our environment, because
> :>: when we try to set a trap on them it will not work. Also while I am here:
> I think this will need to be dependent upon whether or not we're an
> interactive shell. Scanning through an old POSIX document I have lying
> 3.14.13 trap ...
> Signals that were ignored on entry to a noninteractive shell cannot be
> trapped or reset, although no error need be reported when attempting to
> do so. An interactive shell may reset or catch signals ignored on entry.
Clearly this contradicts the behaviors I suggested in my immediately
previous email. Too bad for me, I guess.
David Young OJC Technologies
firstname.lastname@example.org Urbana, IL * (217) 278-3933