[nautilus/gnome-3-26] file-operations: forbid more characters in FAT
- From: Ernestas Kulik <ernestask src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/gnome-3-26] file-operations: forbid more characters in FAT
- Date: Sun, 18 Feb 2018 08:30:47 +0000 (UTC)
commit e4ee98d15846798ed5088e2d5a8a0024c622509c
Author: Ernestas Kulik <ernestask gnome org>
Date: Sat Sep 2 12:30:51 2017 +0300
file-operations: forbid more characters in FAT
‘\’ and ‘|’ aren’t allowed in both 8.3 and long file names.
https://bugzilla.gnome.org/show_bug.cgi?id=771364
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 02dabf587..bab1d8e14 100644
--- a/src/nautilus-file-operations.c
+++ b/src/nautilus-file-operations.c
@@ -4025,7 +4025,7 @@ get_max_name_length (GFile *file_dir)
return max_length;
}
-#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]