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