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:
f7a38a1
)
Fix mtime centiseconds field initialization.
author
relan
<relan@users.noreply.github.com>
Sat, 4 Feb 2012 08:07:17 +0000
(08:07 +0000)
committer
relan
<relan@users.noreply.github.com>
Mon, 24 Aug 2015 05:26:14 +0000
(08:26 +0300)
libexfat/node.c
patch
|
blob
|
history
diff --git
a/libexfat/node.c
b/libexfat/node.c
index
faf6979
..
e0d09a5
100644
(file)
--- a/
libexfat/node.c
+++ b/
libexfat/node.c
@@
-735,8
+735,7
@@
static int write_entry(struct exfat* ef, struct exfat_node* dir,
&meta1.crtime_cs);
meta1.adate = meta1.mdate = meta1.crdate;
meta1.atime = meta1.mtime = meta1.crtime;
- /* crtime_cs and mtime_cs contain addition to the time in centiseconds;
- just ignore those fields because we operate with 2 sec resolution */
+ meta1.mtime_cs = meta1.crtime_cs; /* there is no atime_cs */
memset(&meta2, 0, sizeof(meta2));
meta2.type = EXFAT_ENTRY_FILE_INFO;