mirror of
https://github.com/sheumann/hush.git
synced 2025-01-10 16:29:44 +00:00
ash: better comment. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
726e1a04f7
commit
8f88d85e34
@ -4601,8 +4601,9 @@ forkchild(struct job *jp, union node *n, int mode)
|
|||||||
*
|
*
|
||||||
* Our solution: ONLY bare $(trap) or `trap` is special.
|
* 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));
|
trap_ptr = memcpy(xmalloc(sizeof(trap)), trap, sizeof(trap));
|
||||||
|
/* Fall through into clearing traps */
|
||||||
}
|
}
|
||||||
clear_traps();
|
clear_traps();
|
||||||
#if JOBS
|
#if JOBS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user