summaryrefslogtreecommitdiff
path: root/debian/patches/handle-removed-working-dir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/handle-removed-working-dir.patch')
-rw-r--r--debian/patches/handle-removed-working-dir.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/debian/patches/handle-removed-working-dir.patch b/debian/patches/handle-removed-working-dir.patch
deleted file mode 100644
index 9bf0f4a..0000000
--- a/debian/patches/handle-removed-working-dir.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- a/src/cmd/ksh93/bltins/cd_pwd.c
-+++ b/src/cmd/ksh93/bltins/cd_pwd.c
-@@ -115,7 +115,18 @@
- if(*(dp=dir+1) == '.')
- dp++;
- if(*dp==0 || *dp=='/')
-+ {
-+ struct stat statb;
-+ if((dp-dir)==2)
-+ {
-+ sfprintf(shp->strbuf,oldpwd);
-+ dp = sfstruse(shp->strbuf);
-+ *strrchr(dp,'/')=0;
-+ if(*dp)
-+ dir = (char*)dp;
-+ }
- cdpath = 0;
-+ }
- }
- rval = -1;
- do