summaryrefslogtreecommitdiffstats
path: root/lib/libc/nls/msgcat.c
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2003-10-29 10:45:01 +0000
committertjr <tjr@FreeBSD.org>2003-10-29 10:45:01 +0000
commit8366c4708abfc6ebc635c80bd233fb62ae9b90dc (patch)
tree0c4f70781f934d276b897460f13e497bca19523d /lib/libc/nls/msgcat.c
parentf5759b00c40941c8a20fa62306629cc1df0eef5a (diff)
downloadFreeBSD-src-8366c4708abfc6ebc635c80bd233fb62ae9b90dc.zip
FreeBSD-src-8366c4708abfc6ebc635c80bd233fb62ae9b90dc.tar.gz
Remove incomplete support for running FreeBSD userland on old NetBSD kernels
lacking the issetugid() and utrace() syscalls.
Diffstat (limited to 'lib/libc/nls/msgcat.c')
-rw-r--r--lib/libc/nls/msgcat.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libc/nls/msgcat.c b/lib/libc/nls/msgcat.c
index 4d44618..86fba82 100644
--- a/lib/libc/nls/msgcat.c
+++ b/lib/libc/nls/msgcat.c
@@ -111,11 +111,7 @@ catopen(name, type)
pcode = cptr;
}
- if ((nlspath = getenv("NLSPATH")) == NULL
-#ifndef __NETBSD_SYSCALLS
- || issetugid()
-#endif
- )
+ if ((nlspath = getenv("NLSPATH")) == NULL || issetugid())
nlspath = _DEFAULT_NLS_PATH;
if ((base = cptr = strdup(nlspath)) == NULL) {
OpenPOWER on IntegriCloud