mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-05 11:04:42 +03:00
* vfs/direntry.c (vfs_s_inode_from_path): Revert last change.
This commit is contained in:
parent
d4c2af2154
commit
52a724a2c8
@ -1,3 +1,7 @@
|
|||||||
|
2006-03-30 Pavel Tsekov <ptsekov@gmx.net>
|
||||||
|
|
||||||
|
* direntry.c (vfs_s_inode_from_path): Revert last change.
|
||||||
|
|
||||||
2006-03-23 Pavel Tsekov <ptsekov@gmx.net>
|
2006-03-23 Pavel Tsekov <ptsekov@gmx.net>
|
||||||
|
|
||||||
* extfs.c (extfs_done): Free all live archives.
|
* extfs.c (extfs_done): Free all live archives.
|
||||||
|
@ -581,7 +581,8 @@ vfs_s_inode_from_path (struct vfs_class *me, const char *name, int flags)
|
|||||||
vfs_s_find_inode (me, super, q,
|
vfs_s_find_inode (me, super, q,
|
||||||
flags & FL_FOLLOW ? LINK_FOLLOW : LINK_NO_FOLLOW,
|
flags & FL_FOLLOW ? LINK_FOLLOW : LINK_NO_FOLLOW,
|
||||||
flags & ~FL_FOLLOW);
|
flags & ~FL_FOLLOW);
|
||||||
if (!ino)
|
if ((!ino) && (!*q))
|
||||||
|
/* We are asking about / directory of ftp server: assume it exists */
|
||||||
ino =
|
ino =
|
||||||
vfs_s_find_inode (me, super, q,
|
vfs_s_find_inode (me, super, q,
|
||||||
flags & FL_FOLLOW ? LINK_FOLLOW :
|
flags & FL_FOLLOW ? LINK_FOLLOW :
|
||||||
|
Loading…
Reference in New Issue
Block a user