[BusyBox 0001126]: trap in ash broken, busybox-1.3.0

bugs at busybox.net bugs at busybox.net
Fri Dec 22 08:03:39 UTC 2006


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=1126 
====================================================================== 
Reported By:                espakman
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   1126
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             12-22-2006 00:03 PST
Last Modified:              12-22-2006 00:03 PST
====================================================================== 
Summary:                    trap in ash broken, busybox-1.3.0
Description: 
Somewhere between bb 1.2.2.1 and 1.3.0 the trap implementation in ash got
broken.

When using "trap" in a script with busybox ash:
trap "rm -rf /tmp/*" EXIT
The response is: 
"trap: 34: EXIT: bad trap"
(34 is the linenumber in the script)

Revision 15687 introduces this bug (rewrite of u_signal_names and
decode_signal).

====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-22-06 00:03  espakman       New Issue                                    
12-22-06 00:03  espakman       Status                   new => assigned     
12-22-06 00:03  espakman       Assigned To               => BusyBox         
======================================================================




More information about the busybox-cvs mailing list