]> git.pld-linux.org Git - packages/ash.git/blame - ash-getcwd.patch
- fixed for uclibc
[packages/ash.git] / ash-getcwd.patch
CommitLineData
cf7098dd
MM
1diff -urN netbsd-sh/cd.c ash-0.3.7.orig/cd.c
2--- netbsd-sh/cd.c Fri Jul 9 13:02:05 1999
3+++ ash-0.3.7.orig/cd.c Mon Apr 23 22:16:46 2001
4@@ -319,7 +319,7 @@
5 * c implementation of getcwd, that does not open a pipe to
6 * /bin/pwd.
7 */
8-#if defined(__NetBSD__) || defined(__SVR4)
9+#if defined(__NetBSD__) || defined(__SVR4) || defined(__GLIBC__)
10
11 if (getcwd(buf, sizeof(buf)) == NULL) {
12 char *pwd = getenv("PWD");
13
This page took 0.053729 seconds and 4 git commands to generate.