mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-13 03:13:08 +03:00
* extfs.c (extfs_fill_names): Generate filename#vfsname/dir
instead of #vfsname/filename/dir. Use PATH_SEP_STR.
This commit is contained in:
parent
694468d9bb
commit
6ecbdd05ab
@ -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.
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user