summaryrefslogtreecommitdiffstats
path: root/lib/libtermcap/termcap.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-08-25 16:42:22 +0000
committerache <ache@FreeBSD.org>1997-08-25 16:42:22 +0000
commit3d60ca19b16a293f6a7fcd5cd8367d3b0a68a126 (patch)
treeb914b63aebbff218b3d5283cce568401da4f6b8f /lib/libtermcap/termcap.c
parent42f1df1cb984c7b4c337168c4effa65fa553fda8 (diff)
downloadFreeBSD-src-3d60ca19b16a293f6a7fcd5cd8367d3b0a68a126.zip
FreeBSD-src-3d60ca19b16a293f6a7fcd5cd8367d3b0a68a126.tar.gz
Temporarily comment out issetugid() call until everyone installs libtermcap,
major number bumping will follows then
Diffstat (limited to 'lib/libtermcap/termcap.c')
-rw-r--r--lib/libtermcap/termcap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libtermcap/termcap.c b/lib/libtermcap/termcap.c
index 4b98c1b..fc0314d 100644
--- a/lib/libtermcap/termcap.c
+++ b/lib/libtermcap/termcap.c
@@ -114,10 +114,10 @@ tgetent(char *bp, const char *name)
else /* user-defined name in TERMCAP */
strncpy(pathbuf, cp, PBUFSIZ); /* still can be tokenized */
pathbuf[PBUFSIZ - 1] = '\0';
-
+#if 0
if (issetugid())
strcpy(pathbuf, _PATH_DEF_SEC);
-
+#endif
*fname++ = pathbuf; /* tokenize path into vector of names */
while (*++p)
if (*p == ' ' || *p == ':') {
OpenPOWER on IntegriCloud