VirtualBox

Changeset 4260 in vbox for trunk/src/VBox/Main/xml


Ignore:
Timestamp:
Aug 21, 2007 2:34:12 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
23770
Message:

Replace opening VirtualBox.xml with RTFILE_O_WRITE_THROUGH by a
RTFileFlush after writing the new file contents. Much faster.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/xml/cfgldr.cpp

    r4071 r4260  
    10821082
    10831083    writer->release();
     1084
     1085    if (hFileHandle != NIL_RTFILE || hOriginalFileHandle != NIL_RTFILE)
     1086        (void)RTFileFlush(hFileHandle != NIL_RTFILE ? hFileHandle :
     1087                          hOriginalFileHandle);
    10841088
    10851089    return rc;
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