Closed JasonAlt closed 5 years ago
Version 2.7, source/module/stat.c:
GFSStat->atime = DirEntry->Attrs.TimeLastRead; GFSStat->mtime = DirEntry->Attrs.TimeLastWritten; GFSStat->ctime = DirEntry->Attrs.TimeCreated;
Turns out TimeLastWritten can be zero. The reason why is not clear. The proposed fix is:
atime : TimeLastRead unless 0 then TimeCreated ctime: TimeModifed unless 0 then TimeCreated mtime: TimeLastWritten unless 0 then TimeCreated
Version 2.7, source/module/stat.c:
Turns out TimeLastWritten can be zero. The reason why is not clear. The proposed fix is: