[nautilus] file-operations: forbid more characters in FAT
- From: Ernestas Kulik <ernestask src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] file-operations: forbid more characters in FAT
- Date: Wed, 29 Nov 2017 19:44:46 +0000 (UTC)
commit 0e546d2242b37e974a85bbb8ee6709427dc8a2e2
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-file-operations.c b/src/nautilus-file-operations.c
index 1461bce..546acf8 100644
--- a/src/nautilus-file-operations.c
+++ b/src/nautilus-file-operations.c
@@ -4030,7 +4030,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]