diff options
author | Rob Landley <rob@landley.net> | 2014-10-26 13:34:33 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2014-10-26 13:34:33 -0500 |
commit | d4bae7ddb771d32d35cc953a3fedbcc622820dbe (patch) | |
tree | 1b5d04d5562d8eba24c00eb2abff2b6650af6014 /toys.h | |
parent | d3f335d2cf64eb6c556ee5ba6e4a9315766e3c6e (diff) | |
download | toybox-d4bae7ddb771d32d35cc953a3fedbcc622820dbe.tar.gz |
xexec() recursion limiter has to go after rebound or toy_init() zeroes it.
Diffstat (limited to 'toys.h')
-rw-r--r-- | toys.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -132,10 +132,10 @@ extern struct toy_context { int toycount; // Total number of commands in this build int signal; // generic_signal() records what signal it saw here int signalfd; // and writes signal to this fd, if set - int recursion; // How many nested calls to toy_exec() // This is at the end so toy_init() doesn't zero it. jmp_buf *rebound; // longjmp here instead of exit when do_rebound set + int recursion; // How many nested calls to toy_exec() } toys; // Two big temporary buffers: one for use by commands, one for library functions |