From 68029095b5b1fe1eb7033b300917d149882d72c2 Mon Sep 17 00:00:00 2001 From: David Adam Date: Mon, 8 Dec 2014 07:54:33 +0800 Subject: Remove del_curterm workaround on *BSD. FreeBSD PR was https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=108117 OpenBSD PR was 5447. Both have been fixed for years. This reverts commit c55cbd3f2f003ea6e36727f8b985e880d6aded85, among others. --- configure.ac | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index f0d555f0..6c0e32e9 100644 --- a/configure.ac +++ b/configure.ac @@ -748,25 +748,6 @@ else AC_MSG_RESULT(no) fi -# Check if del_curterm is broken - in that case we redefine -# del_curterm as a no-op, to avoid a double-free - -AC_MSG_CHECKING([If del_curterm is broken]) -case $target_os in - *bsd*) - AC_MSG_RESULT(yes) - AC_DEFINE( - [HAVE_BROKEN_DEL_CURTERM], - [1], - [del_curterm is broken, redefine it to a no-op to avoid a double-free bug] - ) - ;; - *) - AC_MSG_RESULT(no) - ;; -esac - - # Tell the world what we know AC_CONFIG_FILES([Makefile]) AC_OUTPUT -- cgit v1.2.3