From a1d1728dc8d0598fefe058e8e96c600cea59d6e8 Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Tue, 8 Aug 2000 15:12:39 +0000 Subject: [PATCH] ftpfs . / .. is broken, but previous fix was worse than disease. --- vfs/ChangeLog | 5 +++++ vfs/ftpfs.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/vfs/ChangeLog b/vfs/ChangeLog index d34d00ff8..3447537e3 100644 --- a/vfs/ChangeLog +++ b/vfs/ChangeLog @@ -1,3 +1,8 @@ +2000-08-08 Pavel Machek + + * ftpfs.c (dir_load): taken it out, it needs to correctly provide + parent, this way it breaks things. + 2000-08-04 Pavel Machek * ftpfs.c (dir_load): add . and .. to ftpfs listings, courtesy of diff --git a/vfs/ftpfs.c b/vfs/ftpfs.c index d9da97d82..8e17e05cc 100644 --- a/vfs/ftpfs.c +++ b/vfs/ftpfs.c @@ -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)