VirtualBox

Changeset 77754 in vbox for trunk/src/VBox/Runtime/r3


Ignore:
Timestamp:
Mar 18, 2019 12:23:18 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
129415
Message:

IPRT: Some st_birthtime experimentation for FreeBSD.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/posix/fs2-posix.cpp

    r76553 r77754  
    6565    RTTimeSpecAddNano(RTTimeSpecSetSeconds(&pObjInfo->ModificationTime, pStat->st_mtime),     pStat->st_mtimensec);
    6666    RTTimeSpecAddNano(RTTimeSpecSetSeconds(&pObjInfo->ChangeTime,       pStat->st_ctime),     pStat->st_ctimensec);
    67 #ifdef HAVE_STAT_BIRTHTIME
     67# ifdef HAVE_STAT_BIRTHTIME
    6868    RTTimeSpecAddNano(RTTimeSpecSetSeconds(&pObjInfo->BirthTime,        pStat->st_birthtime), pStat->st_birthtimensec);
    69 #endif
     69# endif
    7070
    7171#elif defined(HAVE_STAT_TIMESPEC_BRIEF)
     
    9696    pObjInfo->BirthTime = pObjInfo->ChangeTime;
    9797#endif
    98 
    9998
    10099    /* the file mode */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette