* vfs/sfs.c (sfs_uptodate): Eliminate - it is a noop.
Remove all references to `sfs_uptodate'.
Этот коммит содержится в:
родитель
d5a17b01f8
Коммит
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>
|
2006-03-31 Dmitry Butskoj <buc@odusz.so-cdu.ru>
|
||||||
|
|
||||||
* fish.c (fish_file_store): Do not create the target file before
|
* 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_NOLOCALCOPY 4
|
||||||
#define F_FULLMATCH 8
|
#define F_FULLMATCH 8
|
||||||
|
|
||||||
static int
|
|
||||||
sfs_uptodate (char *name, char *cache)
|
|
||||||
{
|
|
||||||
(void) name;
|
|
||||||
(void) cache;
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
sfs_vfmake (struct vfs_class *me, const char *name, char *cache)
|
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;
|
int handle;
|
||||||
|
|
||||||
while (cur) {
|
while (cur) {
|
||||||
if ((!strcmp (name, cur->name))
|
if (!strcmp (name, cur->name)) {
|
||||||
&& (sfs_uptodate (cur->name, cur->cache))) {
|
|
||||||
vfs_stamp (&vfs_sfs_ops, cur);
|
vfs_stamp (&vfs_sfs_ops, cur);
|
||||||
return cur->cache;
|
return cur->cache;
|
||||||
}
|
}
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user