VirtualBox

Changeset 2629 in vbox for trunk/src/VBox/Runtime/generic


Ignore:
Timestamp:
May 14, 2007 2:26:50 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
21147
Message:

some flags and fixed broken RTTimeLocaleNow on windows.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/generic/RTTimeLocalExplode-generic.cpp

    r2617 r2629  
    2929RTDECL(PRTTIME) RTTimeLocalExplode(PRTTIME pTime, PCRTTIMESPEC pTimeSpec)
    3030{
    31     return RTTimeExplode(pTime, pTimeSpec);
     31    pTime = RTTimeExplode(pTime, pTimeSpec);
     32    if (pTime)
     33        pTime->fFlags = (pTime->fFlags & ~RTTIME_FLAGS_TYPE_MASK) | RTTIME_FLAGS_TYPE_LOCAL;
     34    return pTime;
    3235}
    3336
Note: See TracChangeset for help on using the changeset viewer.

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