diff --git a/vfs/ChangeLog b/vfs/ChangeLog index 8be173c66..108400e30 100644 --- a/vfs/ChangeLog +++ b/vfs/ChangeLog @@ -1,3 +1,8 @@ +Fri Sep 18 10:37:28 1998 Pavel Roskin * ftpfs.c (ftp_use_unix_list_options): New global variable/option. diff --git a/vfs/extfs.c b/vfs/extfs.c index 3e77e08e2..d70418839 100644 --- a/vfs/extfs.c +++ b/vfs/extfs.c @@ -187,7 +187,6 @@ static FILE *open_archive (int fstype, char *name, struct archive **pparc) struct entry *root_entry; char *local_name = NULL, *tmp = 0; int uses_archive = extfs_need_archive [fstype]; - char *tmpfile; if (uses_archive){ if (mc_stat (name, &mystat) == -1) @@ -622,12 +621,10 @@ static void *extfs_open (char *file, int flags, int mode) free (entry->inode->local_filename); entry->inode->local_filename = NULL; free (cmd); - free (mc_extfsdir); my_errno = EIO; return NULL; } free (cmd); - free (mc_extfsdir); } local_handle = open (entry->inode->local_filename, flags, mode); diff --git a/vfs/extfs.h b/vfs/extfs.h index 8f666f336..2a2dae560 100644 --- a/vfs/extfs.h +++ b/vfs/extfs.h @@ -72,6 +72,7 @@ void extfs_fill_names (void (*func)(char *)); int extfs_prefix_to_type (char *path); char *extfs_get_prefix (int fstype); char *extfs_analysis (char *path, char **arc_name, int *fstype, int is_dir); +int extfs_which (char *path); void extfs_run (char *path); void extfs_done (void);