diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-25 12:12:53 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-25 12:12:53 +0200 |
| commit | 8f88d85e34fbcdff13ceffd2eb3d4ec8b998ddef (patch) | |
| tree | 0141165d628ae96316e41dc97d4407698ca22c87 | |
| parent | 726e1a04f7fdf9a646614352cd8c4a371dda6eda (diff) | |
| download | busybox-w32-8f88d85e34fbcdff13ceffd2eb3d4ec8b998ddef.tar.gz busybox-w32-8f88d85e34fbcdff13ceffd2eb3d4ec8b998ddef.tar.bz2 busybox-w32-8f88d85e34fbcdff13ceffd2eb3d4ec8b998ddef.zip | |
ash: better comment. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| -rw-r--r-- | shell/ash.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c index 0cada0474..c909cae2b 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
| @@ -4601,8 +4601,9 @@ forkchild(struct job *jp, union node *n, int mode) | |||
| 4601 | * | 4601 | * |
| 4602 | * Our solution: ONLY bare $(trap) or `trap` is special. | 4602 | * Our solution: ONLY bare $(trap) or `trap` is special. |
| 4603 | */ | 4603 | */ |
| 4604 | /* This is needed to prevent EXIT trap firing and such */ | 4604 | /* Save trap handler strings for trap builtin to print */ |
| 4605 | trap_ptr = memcpy(xmalloc(sizeof(trap)), trap, sizeof(trap)); | 4605 | trap_ptr = memcpy(xmalloc(sizeof(trap)), trap, sizeof(trap)); |
| 4606 | /* Fall through into clearing traps */ | ||
| 4606 | } | 4607 | } |
| 4607 | clear_traps(); | 4608 | clear_traps(); |
| 4608 | #if JOBS | 4609 | #if JOBS |
