mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-01 00:54:24 +03:00
Fixed bug with copy dir '\\\\' to anoter. Directoty whis this name was automatically renamed to '\\'
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
parent
3facc59837
commit
5c95084e2f
@ -136,6 +136,8 @@ mc_search__translate_replace_glob_to_regex (gchar * str)
|
||||
{
|
||||
escaped_mode = TRUE;
|
||||
continue;
|
||||
} else {
|
||||
g_string_append_c (buff, c);
|
||||
}
|
||||
break;
|
||||
case '*':
|
||||
|
@ -877,7 +877,7 @@ copy_dir_dir (FileOpTotalContext * tctx, FileOpContext * ctx, const char *s, con
|
||||
struct link *lp;
|
||||
char *d;
|
||||
|
||||
d = strutils_shell_unescape (_d);
|
||||
d = g_strdup (_d);
|
||||
|
||||
/* First get the mode of the source dir */
|
||||
retry_src_stat:
|
||||
|
Loading…
Reference in New Issue
Block a user