mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
* direntry.c (vfs_s_find_entry_linear): Canonicalize path before searching
This commit is contained in:
parent
18c160fefa
commit
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>
|
||||
|
||||
* 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)
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user