---- getcwd.c.orig Thu Jan 9 18:58:25 2003
-+++ getcwd.c Sat May 3 14:04:22 2003
+--- getcwd.c.orig 2003-10-29 02:45:01.000000000 -0800
++++ getcwd.c 2004-10-24 17:19:39.000000000 -0700
@@ -54,8 +54,6 @@
(dp->d_name[0] == '.' && (dp->d_name[1] == '\0' || \
(dp->d_name[1] == '.' && dp->d_name[2] == '\0')))
char *
getcwd(pt, size)
char *pt;
-@@ -95,20 +93,6 @@
+@@ -95,18 +93,6 @@
return (NULL);
ept = pt + ptsize;
}
--#if !defined(__NETBSD_SYSCALLS)
- if (__getcwd(pt, ept - pt) == 0) {
- if (*pt != '/') {
- bpt = pt;
- }
- return (pt);
- }
--#endif
bpt = ept - 1;
*bpt = '\0';