summaryrefslogtreecommitdiff
path: root/debian/patches/handle-removed-working-dir.patch
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-06-24 23:25:11 +0000
committerIgor Pashev <pashev.igor@gmail.com>2012-06-24 23:25:11 +0000
commitd7f8a4b605fb12051b1ee4aa732d490382b6ab9a (patch)
treeb914caf50f4f38d1967a6c5479a318cd35debee9 /debian/patches/handle-removed-working-dir.patch
parentf5c1f1e76951691b4e9fd7f522ed0a9d0726a5ba (diff)
downloadksh-d7f8a4b605fb12051b1ee4aa732d490382b6ab9a.tar.gz
Updated patches via git-buildpackage
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