VirtualBox

Changeset 36163 in vbox


Ignore:
Timestamp:
Mar 4, 2011 11:15:36 AM (14 years ago)
Author:
vboxsync
Message:

Main: Do not use colons in filenames(!), add nanosecond to saved state timestamp.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r36128 r36163  
    61366136
    61376137    strStateFilePath += RTPATH_DELIMITER;
    6138     strStateFilePath += Utf8StrFmt("%04ld-%02hd-%02hdT%02hd:%02hd:%02hdZ.sav",
     6138    strStateFilePath += Utf8StrFmt("%04ld-%02u-%02uT%02u-%02u-%02u-%09luZ.sav",
    61396139                                   time.i32Year,
    6140                                    (uint16_t)time.u8Month,
    6141                                    (uint16_t)time.u8MonthDay,
    6142                                    (uint16_t)time.u8Hour,
    6143                                    (uint16_t)time.u8Minute,
    6144                                    (uint16_t)time.u8Second);
     6140                                   time.u8Month,
     6141                                   time.u8MonthDay,
     6142                                   time.u8Hour,
     6143                                   time.u8Minute,
     6144                                   time.u8Second,
     6145                                   time.u32Nanosecond);
    61456146}
    61466147
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