summaryrefslogtreecommitdiff
path: root/packaging/zip-2.3-currdir.patch
diff options
context:
space:
mode:
authorJinkun Jang <jinkun.jang@samsung.com>2013-03-13 02:21:45 +0900
committerJinkun Jang <jinkun.jang@samsung.com>2013-03-13 02:21:45 +0900
commit6013bfbbb6a80ba8529df02de472c6fe49a8d5dd (patch)
treeaef757b2abf225284bf0ccb0df3a7b7aab6765aa /packaging/zip-2.3-currdir.patch
parent3101b2a7be8f0e3cc6ff469ce2597945c862264b (diff)
downloadzip-tizen_2.1.tar.gz
zip-tizen_2.1.tar.bz2
zip-tizen_2.1.zip
Diffstat (limited to 'packaging/zip-2.3-currdir.patch')
-rw-r--r--packaging/zip-2.3-currdir.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packaging/zip-2.3-currdir.patch b/packaging/zip-2.3-currdir.patch
new file mode 100644
index 0000000..1ff00f6
--- /dev/null
+++ b/packaging/zip-2.3-currdir.patch
@@ -0,0 +1,11 @@
+--- zip-2.3/util.c.pom 1999-11-07 11:29:38.000000000 +0100
++++ zip-2.3/util.c 2005-01-17 13:46:26.165396792 +0100
+@@ -190,6 +190,8 @@
+ /* Compare the sh pattern p with the string s and return true if they match,
+ false if they don't or if there is a syntax error in the pattern. */
+ {
++ while (s[0] == '.' && s[1] == '/')
++ s += 2; /* strip redundant leading "./" sections */
+ return recmatch((ZCONST uch *) p, (ZCONST uch *) s, cs) == 1;
+ }
+