aboutsummaryrefslogtreecommitdiffhomepage
path: root/fallback.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-05-11 21:58:46 +1000
committerGravatar axel <axel@liljencrantz.se>2006-05-11 21:58:46 +1000
commit524e0aa174224641bc6807ec112e46f98e27cfe0 (patch)
treead2aaf26c7a687ff6a3bec16d47c7fc2e650588f /fallback.h
parent94abb30f94a3ea9279d25dbc83989e9a0c454ab2 (diff)
Add fallback del_curterm which does nothing, used in preference to BSD curses del_curterm, which seems to do a double-free
darcs-hash:20060511115846-ac50b-8d5fc054d31cff637d30e858ae8ffe2b1d1e8c03.gz
Diffstat (limited to 'fallback.h')
-rw-r--r--fallback.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/fallback.h b/fallback.h
index e3952ec3..10a07121 100644
--- a/fallback.h
+++ b/fallback.h
@@ -271,4 +271,12 @@ size_t wcslcpy( wchar_t *dst, const wchar_t *src, size_t siz );
#endif
+#ifdef HAVE_BROKEN_DEL_CURTERM
+
+/**
+ BSD del_curterm seems to do a double-free. We redefine it as a no-op
+*/
+int del_curterm(TERMINAL *oterm);
+#endif
+
#endif