1999-06-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
* smbfs.c (get_stat_info): 2 line fixes from Wayne to check the cache properly. WOOOOHOOOO! Works like a charm.
Этот коммит содержится в:
родитель
4519b43ebc
Коммит
f913bef583
@ -1,3 +1,8 @@
|
||||
1999-06-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* smbfs.c (get_stat_info): 2 line fixes from Wayne to check the
|
||||
cache properly. WOOOOHOOOO! Works like a charm.
|
||||
|
||||
1999-06-14 Wayne Roberts <wroberts1@cx983858-b.orng1.occa.home.com>
|
||||
|
||||
* vfs/smbfs.c: New file. Implements the Samba-based file system.
|
||||
|
@ -189,7 +189,7 @@ mcservx: mcserv.o tcputil.o mad.o
|
||||
$(SAMBAFILES):
|
||||
cd samba && $(MAKE)
|
||||
|
||||
libvfs-mc.a: $(VFSOBJS) $(SAMBAFILES)
|
||||
libvfs-mc.a: $(VFSOBJS) @SAMBAFILES@
|
||||
$(RMF) $@
|
||||
$(AR) cr $@ $(VFSOBJS) $(SAMBAFILES)
|
||||
-$(RANLIB) $@
|
||||
|
@ -1243,11 +1243,11 @@ get_stat_info (smbfs_connection *sc, char *path, struct stat *buf)
|
||||
DEBUG(3, ("'%s' not found in previous_info '%s'\n", path, previous_info->dirname));
|
||||
}
|
||||
/* try to find this in the SHARE listing */
|
||||
if (search_dir_entry(current_share_info->entries, mypath, buf) == 0)
|
||||
if (current_share_info && search_dir_entry(current_share_info->entries, mypath, buf) == 0)
|
||||
return 0;
|
||||
DEBUG(3, ("'%s' not found in share_info '%s'\n", path, current_share_info->dirname));
|
||||
/* try to find this in the SERVER listing */
|
||||
if (search_dir_entry(current_server_info->entries, mypath, buf) == 0)
|
||||
if (current_server_info && search_dir_entry(current_server_info->entries, mypath, buf) == 0)
|
||||
return 0;
|
||||
DEBUG(3, ("'%s' not found in server_info '%s'\n", path, current_server_info->dirname));
|
||||
/* nothing found. get stat file info from server */
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user