mirror of
https://github.com/MidnightCommander/mc
synced 2025-02-22 18:24:23 +03:00
ftpfs . / .. is broken, but previous fix was worse than disease.
This commit is contained in:
parent
dd81cee533
commit
a1d1728dc8
@ -1,3 +1,8 @@
|
||||
2000-08-08 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
|
||||
|
||||
* ftpfs.c (dir_load): taken it out, it needs to correctly provide
|
||||
parent, this way it breaks things.
|
||||
|
||||
2000-08-04 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
|
||||
|
||||
* ftpfs.c (dir_load): add . and .. to ftpfs listings, courtesy of
|
||||
|
@ -1255,7 +1255,10 @@ dir_load(vfs *me, vfs_s_inode *dir, char *remote_path)
|
||||
vfs_s_insert_entry(me, dir, ent);
|
||||
}
|
||||
|
||||
vfs_s_add_dots(me, dir, NULL);
|
||||
/* vfs_s_add_dots(me, dir, NULL);
|
||||
FIXME This really should be here; but we need to provide correct parent.
|
||||
Disabled for now, please fix it. Pavel
|
||||
*/
|
||||
close(sock);
|
||||
me->verrno = E_REMOTE;
|
||||
if ((get_reply (me, SUP.sock, NULL, 0) != COMPLETE) || !num_entries)
|
||||
|
Loading…
x
Reference in New Issue
Block a user