diff options
author | tjr <tjr@FreeBSD.org> | 2003-10-29 10:45:01 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2003-10-29 10:45:01 +0000 |
commit | 8366c4708abfc6ebc635c80bd233fb62ae9b90dc (patch) | |
tree | 0c4f70781f934d276b897460f13e497bca19523d /lib/libc/gen/getcwd.c | |
parent | f5759b00c40941c8a20fa62306629cc1df0eef5a (diff) | |
download | FreeBSD-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/gen/getcwd.c')
-rw-r--r-- | lib/libc/gen/getcwd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libc/gen/getcwd.c b/lib/libc/gen/getcwd.c index 1ca0efc..6606af7 100644 --- a/lib/libc/gen/getcwd.c +++ b/lib/libc/gen/getcwd.c @@ -95,7 +95,6 @@ getcwd(pt, size) return (NULL); ept = pt + ptsize; } -#if !defined(__NETBSD_SYSCALLS) if (__getcwd(pt, ept - pt) == 0) { if (*pt != '/') { bpt = pt; @@ -108,7 +107,6 @@ getcwd(pt, size) } return (pt); } -#endif bpt = ept - 1; *bpt = '\0'; |