projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
726e1a0
)
ash: better comment. no code changes
author
Denys Vlasenko
<vda.linux@googlemail.com>
Fri, 25 Sep 2009 10:12:53 +0000
(12:12 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Fri, 25 Sep 2009 10:12:53 +0000
(12:12 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash.c
patch
|
blob
|
history
diff --git
a/shell/ash.c
b/shell/ash.c
index 0cada0474169b8f089970a97054f518a143ff5a8..c909cae2b2ed5fa6981e6a289777cdc0411bd273 100644
(file)
--- a/
shell/ash.c
+++ b/
shell/ash.c
@@
-4601,8
+4601,9
@@
forkchild(struct job *jp, union node *n, int mode)
*
* Our solution: ONLY bare $(trap) or `trap` is special.
*/
- /*
This is needed to prevent EXIT trap firing and such
*/
+ /*
Save trap handler strings for trap builtin to print
*/
trap_ptr = memcpy(xmalloc(sizeof(trap)), trap, sizeof(trap));
+ /* Fall through into clearing traps */
}
clear_traps();
#if JOBS