Репозитории ALT
S: | 1.35.0.20.1cdad4cc-alt1 |
5.1: | 1.23-alt4 |
4.1: | 1.20-alt1.M41.1 |
4.0: | 1.15.1-alt8 |
3.0: | 1.15.1-alt2 |
+updates: | 1.15.1-alt4.M30.2 |
Группа :: Архивирование/Резервное копирование
Пакет: tar
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: tar-1.15.1-cvs-20050613-is_avoided_name.patch
Скачать
Скачать
2005-06-13 Sergey Poznyakoff <gray@Mirddin.farlep.net>
* src/create.c (dump_file0): Check for is_avoided_name()
first. Fixes bug reported by Martin Lohmeier
<martin@mein-horde.de>
--- src/create.c 21 May 2005 23:10:42 -0000 1.99
+++ src/create.c 13 Jun 2005 19:09:45 -0000 1.100
@@ -1414,6 +1414,8 @@ dump_file0 (struct tar_stat_info *st, ch
return;
}
+ if (is_avoided_name (p))
+ return;
if (S_ISDIR (st->stat.st_mode))
{
dump_dir (st, top_level, parent_device);
@@ -1421,8 +1423,6 @@ dump_file0 (struct tar_stat_info *st, ch
utime (p, &restore_times);
return;
}
- else if (is_avoided_name (p))
- return;
else
{
/* Check for multiple links. */