* direntry.c (vfs_s_find_entry_linear): Canonicalize path before searching
Этот коммит содержится в:
родитель
18c160fefa
Коммит
e66ab47cf1
@ -1,3 +1,8 @@
|
|||||||
|
2002-07-26 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* direntry.c (vfs_s_find_entry_linear): Canonicalize path before
|
||||||
|
searching.
|
||||||
|
|
||||||
2002-07-25 Andrew V. Samoilov <kai@cmail.ru>
|
2002-07-25 Andrew V. Samoilov <kai@cmail.ru>
|
||||||
|
|
||||||
* xdirentry.h (vfs_s_fh.u.fish): Add append field.
|
* xdirentry.h (vfs_s_fh.u.fish): Add append field.
|
||||||
|
@ -282,6 +282,8 @@ vfs_s_find_entry_linear (vfs *me, vfs_s_inode *root, char *path, int follow, int
|
|||||||
if (root->super->root != root)
|
if (root->super->root != root)
|
||||||
vfs_die ("We have to use _real_ root. Always. Sorry." );
|
vfs_die ("We have to use _real_ root. Always. Sorry." );
|
||||||
|
|
||||||
|
canonicalize_pathname (path);
|
||||||
|
|
||||||
if (!(flags & FL_DIR)){
|
if (!(flags & FL_DIR)){
|
||||||
char *dirname, *name, *save;
|
char *dirname, *name, *save;
|
||||||
vfs_s_inode *ino;
|
vfs_s_inode *ino;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user