summaryrefslogtreecommitdiffstats
path: root/tmux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-12-06 18:28:55 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-12-06 18:28:55 +0000
commit2bc8108b3ef0f21694ff5f4a96a5461b69cf957a (patch)
tree5eb11a7f6e64c42db0fe8e5ec14aa96a7ceab760 /tmux.c
parent08d7be638e15cd656cff3baba39eabe36959e06c (diff)
Save term data in a linked list and reuse it.
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/tmux.c b/tmux.c
index c6424bd4..c7ee8e49 100644
--- a/tmux.c
+++ b/tmux.c
@@ -1,4 +1,4 @@
-/* $Id: tmux.c,v 1.45 2007-12-06 09:46:23 nicm Exp $ */
+/* $Id: tmux.c,v 1.46 2007-12-06 18:28:55 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -32,8 +32,13 @@
#include "tmux.h"
#ifdef DEBUG
+#ifdef __OpenBSD__
const char *malloc_options = "AFGJPX";
#endif
+#ifdef __FreeBSD__
+const char *_malloc_options = "AJX";
+#endif
+#endif
volatile sig_atomic_t sigwinch;
volatile sig_atomic_t sigterm;