Blame SOURCES/zip-3.0-currdir.patch

f7f987
diff -up zip30/util.c.currdir zip30/util.c
f7f987
--- zip30/util.c.currdir	2009-11-16 12:42:17.783961701 +0100
f7f987
+++ zip30/util.c	2009-11-16 12:42:58.185960707 +0100
f7f987
@@ -493,6 +493,8 @@ int cs;                 /* force case-se
f7f987
 /* Compare the sh pattern p with the string s and return true if they match,
f7f987
    false if they don't or if there is a syntax error in the pattern. */
f7f987
 {
f7f987
+  while (s[0] == '.' && s[1] == '/') 
f7f987
+    s += 2;                /* strip redundant leading "./" sections */
f7f987
   return recmatch(p, s, cs) == 1;
f7f987
 }
f7f987