DiscussionsIssue archiveOCCT:Foundation Classes

Archived issue #0029917

Foundation Classes - OSD_FileNode AccessMoment and CreationMoment return the same date on Windows

CommunityOCCT:Foundation Classesclosed6 public notes

Search issues

Description

OSD_FileNode AccessMoment() and CreationMoment() return the same date on Windows.

Because AccessMoment() and CreationMoment() all call the function:
static BOOL __fastcall _get_file_time (const wchar_t* fName, LPSYSTEMTIME lpSysTime, BOOL fAccess)
with the fAccess set to TRUE. When the fAccess set to true, the function reutrn the AccessMoment() date.

It should modify the fAccess to FALSE for CreationMoment() function.

Steps to reproduce

Not required

Public activity

6 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Participant.

[revision removed]


Detailed log of new commits:

Author: Krylova Maria
Date: Fri May 15 13:54:26 2020 +0300

    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
02Commenter 2
Branch [archived branch] has been updated forcibly by Participant.

[revision removed]
03Commenter 2
Branch [archived branch] has been updated forcibly by Participant.

[revision removed]
04Commenter 3
05Commenter 1
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Debian80-64:
OCCT
Total CPU difference: 17185.300000000076 / 17188.26000000018 [-0.02%]
Products
Total CPU difference: 11192.350000000066 / 11217.810000000067 [-0.23%]
Windows-64-VC14:
OCCT
Total CPU difference: 18662.4375 / 18659.515625 [+0.02%]
Products
Total CPU difference: 12991.78125 / 13006.1875 [-0.11%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
06Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]