1999-12-08 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
* ftpfs.c: basically replaced ftpfs with new one. Unlike the previous one, this uses new direntry.c layer, so shared_ftp_fish.c can be killed. This is new code, so beware.
Этот коммит содержится в:
родитель
ffffd1fd99
Коммит
bcfd532240
@ -446,7 +446,7 @@ update_one_panel_widget (WPanel *panel, int force_update, char *current_file)
|
||||
if (force_update & UP_RELOAD){
|
||||
panel->is_panelized = 0;
|
||||
|
||||
#if 1
|
||||
#if 0
|
||||
ftpfs_flushdir ();
|
||||
#endif
|
||||
#warning Should supply flushdir method
|
||||
|
@ -627,11 +627,6 @@ load_setup (void)
|
||||
/* Remove the temporal entries */
|
||||
profile_clean_section ("Temporal:New Left Panel", profile_name);
|
||||
profile_clean_section ("Temporal:New Right Panel", profile_name);
|
||||
#ifdef USE_VFS
|
||||
#ifdef USE_NETCODE
|
||||
ftpfs_init_passwd ();
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef USE_VFS
|
||||
|
@ -1,3 +1,11 @@
|
||||
1999-12-08 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
|
||||
|
||||
* ftpfs.c: basically replaced ftpfs with new one. Unlike the
|
||||
previous one, this uses new direntry.c layer, so shared_ftp_fish.c
|
||||
can be killed.
|
||||
|
||||
This is new code, so beware.
|
||||
|
||||
1999-11-11 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
|
||||
|
||||
* shared_ftp_fish.c (s_ungetlocalcopy): need to supply some return
|
||||
|
@ -440,7 +440,7 @@ vfs_s_free_super (vfs *me, vfs_s_super *super)
|
||||
super->root = NULL;
|
||||
}
|
||||
|
||||
#if 1
|
||||
#if 0
|
||||
/* We currently leak small ammount of memory, sometimes. Fix it if you can. */
|
||||
if (super->ino_usage)
|
||||
message_1s1d (1, " Direntry warning ", "Super ino_usage is %d, memory leak", super->ino_usage);
|
||||
|
1015
vfs/ftpfs.c
1015
vfs/ftpfs.c
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
10
vfs/ftpfs.h
10
vfs/ftpfs.h
@ -3,6 +3,8 @@
|
||||
#if !defined(__FTPFS_H)
|
||||
#define __FTPFS_H
|
||||
|
||||
#include "vfs/xdirentry.h"
|
||||
|
||||
struct direntry
|
||||
{
|
||||
char *name;
|
||||
@ -87,5 +89,11 @@ extern char *ftpfs_proxy_host;
|
||||
extern int ftpfs_directory_timeout;
|
||||
extern int ftpfs_always_use_proxy;
|
||||
|
||||
void ftpfs_init_passwd ();
|
||||
void ftpfs_init_passwd (void);
|
||||
static char *ftpfs_get_current_directory (vfs *me, vfs_s_super *super);
|
||||
static int ftpfs_chdir_internal (vfs *me, vfs_s_super *super, char *remote_path);
|
||||
|
||||
#define OPT_FLUSH 1
|
||||
#define OPT_IGNORE_ERROR 2
|
||||
|
||||
#endif
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user