diff --git a/vfs/ChangeLog b/vfs/ChangeLog index 757b74cdd..0a0008671 100644 --- a/vfs/ChangeLog +++ b/vfs/ChangeLog @@ -1,5 +1,8 @@ 2002-07-03 Andrew V. Samoilov + * extfs.c (extfs_fill_names): Generate filename#vfsname/dir + instead of #vfsname/filename/dir. Use PATH_SEP_STR. + * sfs.c (sfs_free): Fix memory leak. (sfs_init): Use PATH_SEP_STR. diff --git a/vfs/extfs.c b/vfs/extfs.c index ce944957d..a4b3ff50e 100644 --- a/vfs/extfs.c +++ b/vfs/extfs.c @@ -101,9 +101,9 @@ static void extfs_fill_names (vfs *me, void (*func)(char *)) 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;