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:
Slava Zanko 2010-07-07 16:43:00 +03:00
parent 3facc59837
commit 5c95084e2f
2 changed files with 3 additions and 1 deletions

View File

@ -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 '*':

View File

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