* sfc.c (sfs_getid): Don't use vfs_die(), return (vfsid)(-1)

instead.
This commit is contained in:
Pavel Roskin 2001-10-02 08:06:37 +00:00
parent 863e59949a
commit 78982e7cc5
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2001-10-02 Andrew V. Samoilov <kai@cmail.ru>
* sfc.c (sfs_getid): Don't use vfs_die(), return (vfsid)(-1)
instead.
2001-10-01 Pavel Roskin <proski@gnu.org>
* vfs.h [!USE_VFS]: Define macros with no effect to an empty

View File

@ -220,11 +220,12 @@ static vfsid sfs_getid (vfs *me, char *path, struct vfs_stamping **parent)
break;
cur = cur->next;
}
if (!cur)
vfs_die( "sfs_getid of noncached thingie?" );
*parent = NULL;
if (!cur)
return (vfsid)(-1);
{
char *path2 = g_strdup (path);
v = vfs_split (path2, NULL, NULL); /* Strip suffix which led to this being sfs */