diff options
author | Rob Landley <rob@landley.net> | 2020-12-11 20:10:14 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2020-12-11 20:10:14 -0600 |
commit | 67476b1b3d9462c0fddb4b95c173dc76ea1c933c (patch) | |
tree | bb874f9f7925ff210bab4eec18abbf800887f3c2 | |
parent | 4e47b8e583903752c08a29873ffcb868173c70d8 (diff) | |
download | toybox-67476b1b3d9462c0fddb4b95c173dc76ea1c933c.tar.gz |
Sigh, remove debug code checked in by mistake.
-rw-r--r-- | main.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -213,12 +213,11 @@ void toybox_main(void) xputc('\n'); } -#include <malloc.h> int main(int argc, char *argv[]) { // don't segfault if our environment is crazy if (!*argv) return 127; -mallopt(M_CHECK_ACTION, 1); + // Snapshot stack location so we can detect recursion depth later. // Nommu has special reentry path, !stacktop = "vfork/exec self happened" if (!CFG_TOYBOX_FORK && (0x80 & **argv)) **argv &= 0x7f; |