* shared_tar_ext.c (__find_entry): Make sure that the parent is a
directory even if the child is not.
Этот коммит содержится в:
родитель
1a4495c4c7
Коммит
459e0ee296
@ -1,5 +1,8 @@
|
||||
2001-02-19 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* shared_tar_ext.c (__find_entry): Make sure that the parent is a
|
||||
directory even if the child is not.
|
||||
|
||||
* extfs/mailfs (parse_date): Correctly handle two-digit years
|
||||
between 1970 and 1999.
|
||||
|
||||
|
@ -54,7 +54,7 @@ __find_entry (struct entry *dir, char *name,
|
||||
*q = c;
|
||||
return NULL;
|
||||
}
|
||||
if (c == '/' && !S_ISDIR (pent->inode->mode)){
|
||||
if (!S_ISDIR (pent->inode->mode)){
|
||||
*q = c;
|
||||
notadir = 1;
|
||||
return NULL;
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user