Hi!

This patch fixes unpleasant feature of current mc: it exits with error
message
if you want cd to something like ???.patch.gz#ugz#patchfs.

Regards,
Andrew.

ChangeLog:

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

Index: sfs.c
===================================================================
RCS file: /cvs/gnome/mc/vfs/sfs.c,v
retrieving revision 1.31
diff -u -p -r1.31 sfs.c
--- sfs.c       2001/08/11 04:57:17     1.31
+++ sfs.c       2001/10/01 13:23:01
@@ -220,10 +220,11 @@ static vfsid sfs_getid (vfs *me, char *p
            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);

_______________________________________________
Mc-devel mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/mc-devel

Reply via email to