[nautilus] file-operations: don't auto-escape semicolon



commit d771158b83385029836a15a345e05fdda76795f2
Author: ignapk <automat script gmail com>
Date:   Mon Jul 13 16:19:12 2020 +0200

    file-operations: don't auto-escape semicolon
    
    Nowadays fat filesystems are usually mounted with vfat driver that
    supports long filenames, which allow semicolon.
    
    Since there is no easy way to determine which driver was used
    and msdos is a corner case, make the assumption so the character
    is not auto-escaped when not necessary.

 src/nautilus-file-operations.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/nautilus-file-operations.c b/src/nautilus-file-operations.c
index 3f98caedd..c61c3d9ef 100644
--- a/src/nautilus-file-operations.c
+++ b/src/nautilus-file-operations.c
@@ -4183,7 +4183,7 @@ report_copy_progress (CopyMoveJob  *copy_job,
 }
 #pragma GCC diagnostic pop
 
-#define FAT_FORBIDDEN_CHARACTERS "/:;*?\"<>\\|"
+#define FAT_FORBIDDEN_CHARACTERS "/:*?\"<>\\|"
 
 static gboolean
 fat_str_replace (char *str,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]