VirtualBox

Changeset 23047 in vbox for trunk/src


Ignore:
Timestamp:
Sep 15, 2009 9:29:15 PM (15 years ago)
Author:
vboxsync
Message:

Fix RTFILE_O_NO_CACHE on Windows. Document that FILE_APPEND_DATA is disabled and how to workaround it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/fileio-win.cpp

    r22516 r23047  
    302302        dwFlagsAndAttributes |= FILE_FLAG_OVERLAPPED;
    303303    if (fOpen & RTFILE_O_NO_CACHE)
     304    {
    304305        dwFlagsAndAttributes |= FILE_FLAG_NO_BUFFERING;
     306        dwDesiredAccess &= ~FILE_APPEND_DATA;
     307    }
    305308
    306309    /*
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