* main.c (update_one_panel_widget): Use VFS_SETCTL_FLUSH for the

current directory.  This fixes Ctrl-R on fish.
* vfsdummy.h: Remove unused functions.
This commit is contained in:
Pavel Roskin 2003-10-16 18:57:15 +00:00
parent 7c4fc715da
commit 6bb01bfe85
3 changed files with 5 additions and 9 deletions

View File

@ -1,5 +1,9 @@
2003-10-16 Pavel Roskin <proski@gnu.org>
* main.c (update_one_panel_widget): Use VFS_SETCTL_FLUSH for the
current directory. This fixes Ctrl-R on fish.
* vfsdummy.h: Remove unused functions.
* main.c (process_args): Use VFS_SETCTL_LOGFILE for ftpfs.
2003-10-15 Pavel Roskin <proski@gnu.org>

View File

@ -332,11 +332,7 @@ update_one_panel_widget (WPanel *panel, int force_update,
if (force_update & UP_RELOAD) {
panel->is_panelized = 0;
#if 1
ftpfs_flushdir ();
#endif
/* FIXME: Should supply flushdir method */
mc_setctl (panel->cwd, VFS_SETCTL_FLUSH, 0);
memset (&(panel->dir_stat), 0, sizeof (panel->dir_stat));
}

View File

@ -18,8 +18,6 @@
#define mc_opendir opendir
#define mc_readdir readdir
#define mc_closedir closedir
#define mc_telldir telldir
#define mc_seekdir seekdir
#define mc_stat stat
#define mc_mknod mknod
@ -73,6 +71,4 @@ return_zero (void)
#define vfs_timeout_handler() do { } while (0)
#define vfs_timeouts() 0
#define ftpfs_flushdir() do { } while (0)
#endif /* !__VFSDUMMY_H */