Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37535924
en ru br
Репозитории ALT
S:3.0-alt3
D:3.00g-alt1
5.1: 2.32-alt2
4.1: 2.32-alt2.M41.1
4.0: 2.32-alt1.0
3.0: 2.3-alt2
www.altlinux.org/Changes

Группа :: Архивирование/Сжатие
Пакет: zip

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: zip-3.0-currdir.patch
Скачать


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;
 }
 
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin