Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37850497
en ru br
ALT Linux repositórios
S:3.0-alt3
D:3.00g-alt1
5.0: 2.32-alt2
4.1: 2.32-alt2.M41.1
4.0: 2.32-alt1.0
3.0: 2.3-alt2

Group :: Arquivamento/Compressão
RPM: zip

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: zip-3.0-currdir.patch
Download


diff -up zip30/util.c.currdir zip30/util.c
--- zip30/util.c.currdir	2009-11-16 12:42:17.783961701 +0100
+++ zip30/util.c	2009-11-16 12:42:58.185960707 +0100
@@ -493,6 +493,8 @@ int cs;                 /* force case-se
 /* 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(p, s, cs) == 1;
 }
 
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009