Temp restore of rev 1.9

This commit is contained in:
Andrey A. Chernov 1997-08-26 12:47:09 +00:00
parent d3114049c1
commit a139916b88

View file

@ -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())
/* XXX Should really be issetguid(), but we don't have that */
if (getuid() != geteuid() || getgid() != getegid())
strcpy(pathbuf, _PATH_DEF_SEC);
#endif
*fname++ = pathbuf; /* tokenize path into vector of names */
while (*++p)
if (*p == ' ' || *p == ':') {