hush: fix trap

function                                             old     new   delta
expand_variables                                    2217    2280     +63
static.argv                                            -       8      +8

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2009-09-23 01:46:19 +02:00
parent af3fd14e4d
commit 91836baf85
3 changed files with 52 additions and 1 deletions

View File

@@ -0,0 +1,3 @@
trap -- 'echo WINCH!' SIGWINCH
trap -- 'echo WINCH!' SIGWINCH
Done

View File

@@ -0,0 +1,6 @@
trap 'echo WINCH!' SIGWINCH
v=` trap `
echo $v
v=`trap`
echo $v
echo Done