OSDN Git Service
(root)
/
android-x86
/
external-exfat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a11f08
)
Fix max file name length.
author
relan
<relan@users.noreply.github.com>
Thu, 15 Dec 2016 05:14:30 +0000
(08:14 +0300)
committer
relan
<relan@users.noreply.github.com>
Mon, 26 Dec 2016 07:00:38 +0000
(10:00 +0300)
In exFAT file name limit is 255 16-bit code units, not 256. That's
because name length field size is 1 byte.
libexfat/exfat.h
patch
|
blob
|
history
diff --git
a/libexfat/exfat.h
b/libexfat/exfat.h
index
75cb6e6
..
795bf47
100644
(file)
--- a/
libexfat/exfat.h
+++ b/
libexfat/exfat.h
@@
-34,7
+34,7
@@
#include <sys/stat.h>
#include <sys/types.h>
-#define EXFAT_NAME_MAX 25
6
+#define EXFAT_NAME_MAX 25
5
#define EXFAT_ATTRIB_CONTIGUOUS 0x10000
#define EXFAT_ATTRIB_CACHED 0x20000
#define EXFAT_ATTRIB_DIRTY 0x40000