[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: Sat, 2 Sep 2017 21:35:19 +0000 (UTC)
commit f4292a57f321a1727ee6a2bdf765f14524c464eb
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 02dabf5..bab1d8e 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]