[BusyBox 0001126]: trap in ash broken, busybox-1.3.0
bugs at busybox.net
bugs at busybox.net
Fri Dec 22 14:59:12 UTC 2006
A NOTE has been added to this issue.
======================================================================
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 06:59 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).
======================================================================
----------------------------------------------------------------------
LUDER - 12-22-06 06:55
----------------------------------------------------------------------
read all signal number and now
"EXIT", INT , or SIGINT.
----------------------------------------------------------------------
LUDER - 12-22-06 06:59
----------------------------------------------------------------------
Now this file work
Signal number: 0, 2 etc...
and now EXIT INT or SIGINT
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
12-22-06 06:55 LUDER Note Added: 0001926
12-22-06 06:56 LUDER File Added: u_signal_names.c
12-22-06 06:59 LUDER Note Added: 0001927
======================================================================
More information about the busybox-cvs
mailing list