diff options
Diffstat (limited to 'storage/pbxt/src/filesys_xt.cc')
-rw-r--r-- | storage/pbxt/src/filesys_xt.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/storage/pbxt/src/filesys_xt.cc b/storage/pbxt/src/filesys_xt.cc index 31e2cf961b6..ebe0ed146b0 100644 --- a/storage/pbxt/src/filesys_xt.cc +++ b/storage/pbxt/src/filesys_xt.cc @@ -369,8 +369,7 @@ xtPublic xtBool xt_fs_stat(XTThreadPtr self, char *path, off_t *size, struct tim CloseHandle(fh); if (size) *size = (off_t) info.nFileSizeLow | (((off_t) info.nFileSizeHigh) << 32); - if (mod_time) - mod_time->tv.ft = info.ftLastWriteTime; + memset(mod_time, 0, sizeof(*mod_time)); #else struct stat sb; |