mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Temp restore of rev 1.9
This commit is contained in:
parent
d3114049c1
commit
a139916b88
1 changed files with 3 additions and 3 deletions
|
|
@ -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 == ':') {
|
||||
|
|
|
|||
Loading…
Reference in a new issue