mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-08 20:41:59 +03:00
536fb676d8
...to free or not to free the string representation of vfs_path_t object. It allows to get rid of string duplication in following cases: vfs_path_t *vpath; char *path; ... vpath = vfs_path_from_str (...); path = g_strdup (vfs_path_as_str (vpath)); vfs_path_free (vpath); Now we can write: vfs_path_t *vpath; char *path; ... vpath = vfs_path_from_str (...); path = vfs_path_free (vpath, FALSE); Signed-off-by: Andrew Borodin <aborodin@vmail.ru> |
||
---|---|---|
.. | ||
mcconfig | ||
search | ||
strutil | ||
vfs | ||
widget | ||
library_independ.c | ||
Makefile.am | ||
mc_build_filename.c | ||
mc_realpath.c | ||
name_quote.c | ||
serialize.c | ||
utilunix__mc_pstream_get_string.c | ||
utilunix__my_system-common.c | ||
utilunix__my_system-fork_child_shell.c | ||
utilunix__my_system-fork_child.c | ||
utilunix__my_system-fork_fail.c | ||
x_basename.c |