diff options
author | relan <relan@users.noreply.github.com> | 2015-09-10 12:24:59 +0300 |
---|---|---|
committer | relan <relan@users.noreply.github.com> | 2015-09-24 08:28:42 +0300 |
commit | 5d3dd6f2e301983cf57c43f8d232d7dc39ae213c (patch) | |
tree | 4df995c02427dedf491fb5aa78ab8e49c9883055 | |
parent | 8099d130e20bdd6274816de7ddaadb7e95ab3df9 (diff) | |
download | android_external_exfat-5d3dd6f2e301983cf57c43f8d232d7dc39ae213c.tar.gz android_external_exfat-5d3dd6f2e301983cf57c43f8d232d7dc39ae213c.tar.bz2 android_external_exfat-5d3dd6f2e301983cf57c43f8d232d7dc39ae213c.zip |
Do not set archive bit on directory creation.
Windows Exporer does not set archive bit for new directories either.
This fixes compatibility with Zalman VE-200 which is unable to read
images from the _ISO directory if it has archive bit set.
-rw-r--r-- | libexfat/node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexfat/node.c b/libexfat/node.c index 6e18c09..f3d10e0 100644 --- a/libexfat/node.c +++ b/libexfat/node.c @@ -973,7 +973,7 @@ int exfat_mkdir(struct exfat* ef, const char* path) int rc; struct exfat_node* node; - rc = create(ef, path, EXFAT_ATTRIB_ARCH | EXFAT_ATTRIB_DIR); + rc = create(ef, path, EXFAT_ATTRIB_DIR); if (rc != 0) return rc; rc = exfat_lookup(ef, &node, path); |