aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-05-24 12:18:16 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-05-24 12:18:16 +0000
commitb055001b6a69cf8fd513d36622cf693ee20c0e92 (patch)
tree13b92d347774d453d227b2f29dee695974a8727d /include
parent90e485ce79b8a0cd345bc5be76100291ec589579 (diff)
downloadbusybox-w32-b055001b6a69cf8fd513d36622cf693ee20c0e92.tar.gz
busybox-w32-b055001b6a69cf8fd513d36622cf693ee20c0e92.tar.bz2
busybox-w32-b055001b6a69cf8fd513d36622cf693ee20c0e92.zip
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)
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 32bb3113d..1859a3f09 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -512,6 +512,7 @@ int wait_nohang(int *wstat);
512/* wait4pid(spawn(argv)) + NOFORK/NOEXEC (if configured) */ 512/* wait4pid(spawn(argv)) + NOFORK/NOEXEC (if configured) */
513int spawn_and_wait(char **argv); 513int spawn_and_wait(char **argv);
514struct nofork_save_area { 514struct nofork_save_area {
515 jmp_buf die_jmp;
515 const struct bb_applet *current_applet; 516 const struct bb_applet *current_applet;
516 int xfunc_error_retval; 517 int xfunc_error_retval;
517 uint32_t option_mask32; 518 uint32_t option_mask32;