diff options
Diffstat (limited to 'tmux.c')
-rw-r--r-- | tmux.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -31,7 +31,7 @@ #include "tmux.h" #ifdef DEBUG -const char *malloc_options = "AFGJPX"; +extern char *malloc_options; #endif volatile sig_atomic_t sigwinch; @@ -299,6 +299,10 @@ main(int argc, char **argv) size_t len; int nfds, retcode, opt, flags, cmdflags = 0; +#ifdef DEBUG + malloc_options = (char *) "AFGJPX"; +#endif + flags = 0; shellcmd = label = path = NULL; login_shell = (**argv == '-'); |