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>
|
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.
|
||||||
@ -8,7 +13,7 @@
|
|||||||
* mcserv.c [HAVE_MAD]: Include "../src/mad.c" at the end of
|
* mcserv.c [HAVE_MAD]: Include "../src/mad.c" at the end of
|
||||||
file to fix compilation.
|
file to fix compilation.
|
||||||
(main): Add mad_init() and mad_finalize().
|
(main): Add mad_init() and mad_finalize().
|
||||||
|
|
||||||
2002-07-19 Pavel Roskin <proski@gnu.org>
|
2002-07-19 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
* ftpfs.c: Don't use SUP.home, use SUP.cwdir.
|
* ftpfs.c: Don't use SUP.home, use SUP.cwdir.
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user