summaryrefslogtreecommitdiff
path: root/lib/libocurses/pathnames.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-11-19 17:07:15 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-11-19 17:07:15 +0000
commit0885c03cfe9a392b561d73290f6baa72dccafb01 (patch)
tree856ce7f384dd9ded04201deb8f0e421a82061aa7 /lib/libocurses/pathnames.h
parent7b793c6e257abc5246751209b956720c8d7adb2a (diff)
For issetugid case, only ignore $TERMCAP if it is a path
Diffstat (limited to 'lib/libocurses/pathnames.h')
-rw-r--r--lib/libocurses/pathnames.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libocurses/pathnames.h b/lib/libocurses/pathnames.h
index a10b561095e..26153535eee 100644
--- a/lib/libocurses/pathnames.h
+++ b/lib/libocurses/pathnames.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pathnames.h,v 1.1 1998/07/23 21:10:26 millert Exp $ */
+/* $OpenBSD: pathnames.h,v 1.2 1998/11/19 17:07:14 millert Exp $ */
/* $NetBSD: pathnames.h,v 1.3 1995/02/27 10:18:43 cgd Exp $ */
/*
@@ -36,4 +36,5 @@
* @(#)pathnames.h 8.1 (Berkeley) 6/4/93
*/
-#define _PATH_DEF ".termcap /usr/share/misc/termcap"
+#define _PATH_TERMCAP "/usr/share/misc/termcap"
+#define _PATH_DEF __CONCAT(".termcap",_PATH_TERMCAP)