summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2011-04-23 22:08:16 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2011-04-23 22:08:16 +0000
commitec1cac950c8b22402998c1cc07f8cdea0c433f0d (patch)
tree050726792abd260ee2321650663ff103dc1d4253 /lib
parent50a9f073004a45934ca83e87ddbb9eaa47103899 (diff)
Enable the SIGWINCH handler in ncurses.
Prompted by mail from Mikolaj Kucharski on tech@ and discussion with deraadt@ and millert@. A library installing signal handlers without being asked is seriously wrong but it appears quite a few applications now depend on the ncurses SIGWINCH and it looks to be safe. Safer than the other signal handlers it installs (apparently without request... boke). ok millert
Diffstat (limited to 'lib')
-rw-r--r--lib/libcurses/ncurses_cfg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcurses/ncurses_cfg.h b/lib/libcurses/ncurses_cfg.h
index 9677aaf1ce1..f8b3f67d597 100644
--- a/lib/libcurses/ncurses_cfg.h
+++ b/lib/libcurses/ncurses_cfg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ncurses_cfg.h,v 1.25 2010/09/06 17:26:17 nicm Exp $ */
+/* $OpenBSD: ncurses_cfg.h,v 1.26 2011/04/23 22:08:15 nicm Exp $ */
/* include/ncurses_cfg.h. Generated automatically by configure. */
/****************************************************************************
@@ -33,7 +33,7 @@
* Author: Thomas E. Dickey <dickey@clark.net> 1997 *
****************************************************************************/
/*
- * $Id: ncurses_cfg.h,v 1.25 2010/09/06 17:26:17 nicm Exp $
+ * $Id: ncurses_cfg.h,v 1.26 2011/04/23 22:08:15 nicm Exp $
*
* This is a template-file used to generate the "ncurses_cfg.h" file.
*
@@ -171,12 +171,12 @@
#define USE_LINKS 1
#define USE_OPENPTY_HEADER <util.h>
#define USE_ROOT_ENVIRON 1
+#define USE_SIGWINCH 1
#define USE_WIDEC_SUPPORT 1
#define USE_XTERM_PTY 1
/* #define HAVE_LIBFORM 1 */
/* #define HAVE_LIBMENU 1 */
/* #define HAVE_LIBPANEL 1 */
-/* #define USE_SIGWINCH 1 */
#include <ncurses_def.h>