Merge branch '1909_extfs_read_archive_fix'
* 1909_extfs_read_archive_fix: Ticlet #1909: fix of extfs_read_archive() function.
Этот коммит содержится в:
Коммит
9b41d62d0a
@ -486,7 +486,7 @@ extfs_read_archive (int fstype, const char *name, struct archive **pparc)
|
|||||||
*(p++) = '\0';
|
*(p++) = '\0';
|
||||||
q = cfn;
|
q = cfn;
|
||||||
}
|
}
|
||||||
if (S_ISDIR (hstat.st_mode) && (strcmp (p, ".") || !strcmp (p, "..") == 0))
|
if (S_ISDIR (hstat.st_mode) && (strcmp (p, ".") == 0 || strcmp (p, "..") == 0))
|
||||||
goto read_extfs_continue;
|
goto read_extfs_continue;
|
||||||
pent = extfs_find_entry (current_archive->root_entry, q, TRUE, FALSE);
|
pent = extfs_find_entry (current_archive->root_entry, q, TRUE, FALSE);
|
||||||
if (pent == NULL)
|
if (pent == NULL)
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user