From: Denys Vlasenko Date: Fri, 25 Sep 2009 10:12:53 +0000 (+0200) Subject: ash: better comment. no code changes X-Git-Tag: 1_16_0~453 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8f88d85e34fbcdff13ceffd2eb3d4ec8b998ddef;p=platform%2Fupstream%2Fbusybox.git ash: better comment. no code changes Signed-off-by: Denys Vlasenko --- diff --git a/shell/ash.c b/shell/ash.c index 0cada04..c909cae 100644 --- 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