hush: fix handling of unmatched ${name (without closing '}') -
authorDenis Vlasenko <vda.linux@googlemail.com>
Thu, 24 May 2007 12:18:16 +0000 (12:18 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Thu, 24 May 2007 12:18:16 +0000 (12:18 -0000)
commitb055001b6a69cf8fd513d36622cf693ee20c0e92
tree13b92d347774d453d227b2f29dee695974a8727d
parent90e485ce79b8a0cd345bc5be76100291ec589579
hush: fix handling of unmatched ${name  (without closing '}') -
was eating all remaining input, potentially megabytes.
nofork: save/restore die_jmp too
nofork: use -2222 instead of -111 as "special" return valur for zero
(-111 is used by some applets. -2222 won't fit in exitcode and thus safer)
include/libbb.h
libbb/error_msg_and_die.c
libbb/vfork_daemon_rexec.c
shell/hush.c