Subject: Re: bin/15544: /bin/sh trap command not POSIX compliant
To: None <firstname.lastname@example.org>
From: Masao Uebayashi <email@example.com>
Date: 02/09/2002 10:18:53
> trap "echo trapped" INT
> exit 0
> Work around by using ksh. I think the fix needs to be made
> on line 110 of /usr/src/bin/sh/trap.c (rev 220.127.116.11) by
> making is_number() also recognize signal names. Line 115
> also needs to be fixed to return the signal number when
> number() is given a string with the proper name.
This has been already fixed in -current. See rev 1.26 of trap.c.