Glenn Fowler wrote:
> On Tue, 2 Dec 2008 05:11:37 -0700 (MST) bugmail-sender at Sun.COM wrote:
> > *Synopsis*: *ksh93* does not understand "THAW" as a signal for use with trap
[snip]
> > *Change Request ID*: 6778077
> 
> > *Synopsis*: *ksh93* does not understand "THAW" as a signal for use with trap
> 
> >   Product: solaris
> >   Category: shell
> >   Subcategory: korn93
> >   Type: Defect
> >   Subtype:
> >   Status: 1-Dispatched
> >   Substatus:
> >   Priority: 4-Low
> >   Introduced In Release:
> >   Introduced In Build:
> >   Responsible Engineer:
> >   Keywords:
> 
> > === *Description* 
> > ============================================================
> > While ksh93 understand THAW in the list of signals for kill it does not 
> > understand it for "trap'
> >
> > : pod5.eu TS 6 $; kill -l | egrep '(THAW|FREEZE)'
> > FREEZE
> > THAW
> > : pod5.eu TS 7 $; trap "echo THAW" THAW
> > ksh93: trap: THAW: bad trap
> > : pod5.eu TS 8 $;
> >
> > Using the signal number (35) works around this.
> >
> > *** (#1 of 1): 2008-12-01 09:39:52 GMT+00:00 <User 1-5Q-10481>
> 
> this is a coding bug
> the internal signal table must be ASCII sorted lo-hi
> and there are a few entries out of order, THAW being one of them
> this will be fixed in the next release
> thanks

I've added a matching testcase to our repository as
http://svn.genunix.org/repos/on/branches/ksh93/gisburn/scripts/tests/sun_solaris_cr_6778077_sigthaw_trap.sh

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)

Reply via email to