ftpfs . / .. is broken, but previous fix was worse than disease.
Этот коммит содержится в:
родитель
dd81cee533
Коммит
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)
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user