* extfs.c (extfs_fill_names): Generate filename#vfsname/dir

instead of #vfsname/filename/dir.  Use PATH_SEP_STR.
This commit is contained in:
Pavel Roskin 2002-07-03 15:54:01 +00:00
parent 694468d9bb
commit 6ecbdd05ab
2 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,8 @@
2002-07-03 Andrew V. Samoilov <kai@cmail.ru>
* 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.

View File

@ -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;