mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* vfs/sfs.c (sfs_uptodate): Eliminate - it is a noop.
Remove all references to `sfs_uptodate'.
This commit is contained in:
parent
d5a17b01f8
commit
44becc0a7d
@ -1,3 +1,8 @@
|
||||
2006-04-04 Pavel Tsekov <ptsekov@gmx.net>
|
||||
|
||||
* sfs.c (sfs_uptodate): Eliminate - it is a noop.
|
||||
Remove all references to `sfs_uptodate'.
|
||||
|
||||
2006-03-31 Dmitry Butskoj <buc@odusz.so-cdu.ru>
|
||||
|
||||
* fish.c (fish_file_store): Do not create the target file before
|
||||
|
11
vfs/sfs.c
11
vfs/sfs.c
@ -48,14 +48,6 @@ static int sfs_flags[ MAXFS ];
|
||||
#define F_NOLOCALCOPY 4
|
||||
#define F_FULLMATCH 8
|
||||
|
||||
static int
|
||||
sfs_uptodate (char *name, char *cache)
|
||||
{
|
||||
(void) name;
|
||||
(void) cache;
|
||||
return 1;
|
||||
}
|
||||
|
||||
static int
|
||||
sfs_vfmake (struct vfs_class *me, const char *name, char *cache)
|
||||
{
|
||||
@ -156,8 +148,7 @@ sfs_redirect (struct vfs_class *me, const char *name)
|
||||
int handle;
|
||||
|
||||
while (cur) {
|
||||
if ((!strcmp (name, cur->name))
|
||||
&& (sfs_uptodate (cur->name, cur->cache))) {
|
||||
if (!strcmp (name, cur->name)) {
|
||||
vfs_stamp (&vfs_sfs_ops, cur);
|
||||
return cur->cache;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user