diff options
author | axel <axel@liljencrantz.se> | 2006-05-11 21:58:46 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-05-11 21:58:46 +1000 |
commit | 524e0aa174224641bc6807ec112e46f98e27cfe0 (patch) | |
tree | ad2aaf26c7a687ff6a3bec16d47c7fc2e650588f /fallback.h | |
parent | 94abb30f94a3ea9279d25dbc83989e9a0c454ab2 (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.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |