summaryrefslogtreecommitdiff
path: root/lib/libcurses/ncurses_cfg.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-10-10 15:10:33 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-10-10 15:10:33 +0000
commitbb7631942dcc6370156118c834fe56c8da632dff (patch)
tree7dd8d7b88d3d2fec5b00e81a8b830d9cf5dbe5d0 /lib/libcurses/ncurses_cfg.h
parent6bf4b0ac08bc472a2f11aa0c7fa5d55f03bc8604 (diff)
Don't ignore $TERMCAP, $TERMINFO, $TERMINFO_DIRS, $TERMPATH, and $HOME
if root but not setugid. Fix select usage to deal with an arbitrary number of fd's. This code is not compiled since we use poll(2).
Diffstat (limited to 'lib/libcurses/ncurses_cfg.h')
-rw-r--r--lib/libcurses/ncurses_cfg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libcurses/ncurses_cfg.h b/lib/libcurses/ncurses_cfg.h
index 4895cb22993..b5fc60b4c78 100644
--- a/lib/libcurses/ncurses_cfg.h
+++ b/lib/libcurses/ncurses_cfg.h
@@ -132,6 +132,7 @@
#define USE_DATABASE 1
#define USE_GETCAP 1
#define USE_HASHMAP 1
+#define USE_ROOT_ENVIRON 1
/* #define USE_SIGWINCH 1 */
#include <ncurses_def.h>