hush: do not reset to default "" traps in subshell
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 25 Sep 2009 12:21:06 +0000 (14:21 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 25 Sep 2009 12:21:06 +0000 (14:21 +0200)
commit67f7186403dec3f61f6ea9e9a3f555bd0b0541bc
tree2cc885ab0edebf17070b88aaaf56899814ed4744
parent4ea0ca81934ad62887632fa53d093b0048ea7e03
hush: do not reset to default "" traps in subshell

function                                             old     new   delta
reset_traps_to_defaults                              164     211     +47
builtin_umask                                        123     121      -2

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/hush.c
shell/hush_test/hush-trap/subshell.right [new file with mode: 0644]
shell/hush_test/hush-trap/subshell.tests [new file with mode: 0755]