* direntry.c (vfs_s_find_entry_linear): Canonicalize path before searching

This commit is contained in:
Pavel Roskin 2002-07-26 21:58:43 +00:00
parent 18c160fefa
commit e66ab47cf1
2 changed files with 8 additions and 1 deletions

View File

@ -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>
* xdirentry.h (vfs_s_fh.u.fish): Add append field.

View File

@ -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)
vfs_die ("We have to use _real_ root. Always. Sorry." );
canonicalize_pathname (path);
if (!(flags & FL_DIR)){
char *dirname, *name, *save;
vfs_s_inode *ino;