From: mkrylova Date: Fri, 15 May 2020 10:54:26 +0000 (+0300) Subject: 0029917: Foundation Classes - OSD_FileNode AccessMoment and CreationMoment return... X-Git-Tag: V7_5_0_beta~189 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=04c5a696e4eab2821ac53a089092ca9413da5b3e;p=occt-copy.git 0029917: Foundation Classes - OSD_FileNode AccessMoment and CreationMoment return the same date on Windows fAccess in CreationMoment() function for Windows has been modified from TRUE to FALSE --- diff --git a/src/OSD/OSD_FileNode.cxx b/src/OSD/OSD_FileNode.cxx index 05480e097e..63716b30fc 100644 --- a/src/OSD/OSD_FileNode.cxx +++ b/src/OSD/OSD_FileNode.cxx @@ -758,7 +758,7 @@ Quantity_Date OSD_FileNode::CreationMoment () { TEST_RAISE( "CreationMoment" ); - if (_get_file_time (fNameW.ToWideString(), &stCreationSystemMoment, TRUE)) + if (_get_file_time (fNameW.ToWideString(), &stCreationSystemMoment, FALSE)) { SYSTEMTIME * aSysTime = &stCreationMoment; BOOL aFlag = SystemTimeToTzSpecificLocalTime (NULL,