From ec1cac950c8b22402998c1cc07f8cdea0c433f0d Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sat, 23 Apr 2011 22:08:16 +0000 Subject: 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 --- lib/libcurses/ncurses_cfg.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libcurses') 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 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 #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 -- cgit v1.2.3