Fix for extfs_fill_names



Hi,

this patch fix filename generation in extfs_fill_names.
Now it will be possible to type C-x a and descent to extfs
archives from this menu.

ChangeLog:

* extfs.c (extfs_fill_names): Generate filename#patchfs/dir
instead of #patchfs/filename/dir.  Use PATH_SEP_STR.

--- vfs/extfs.c	Wed Feb 20 08:15:58 2002
+++ vfs/extfs.c	Wed Jul  3 17:56:00 2002
@@ -101,9 +101,9 @@ static void extfs_fill_names (vfs *me, v
     char *name;
     
     while (a){
-	name = g_strconcat (extfs_prefixes [a->fstype], "#", 
-			    (a->name ? a->name : ""), "/",
-			     a->current_dir->name, NULL);
+	name = g_strconcat (a->name ? a->name : "",
+			    "#", extfs_prefixes [a->fstype],
+			    PATH_SEP_STR, a->current_dir->name, NULL);
 	(*func)(name);
 	g_free (name);
 	a = a->next;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]