VirtualBox

Changeset 5258 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Oct 12, 2007 9:57:23 AM (17 years ago)
Author:
vboxsync
Message:

Rewrote the shared folder create file function on the host to eliminate a race condition

File:
1 edited

Legend:

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

    r4372 r5258  
    128128    if (    (fOpen & (~RTFILE_O_VALID_MASK | RTFILE_O_NON_BLOCK))
    129129        ||  !(fOpen & RTFILE_O_ACCESS_MASK)
    130         ||  (fOpen & (RTFILE_O_TRUNCATE | RTFILE_O_DENY_WRITE)) == RTFILE_O_TRUNCATE
     130        ||  (fOpen & (RTFILE_O_TRUNCATE | RTFILE_O_WRITE)) == RTFILE_O_TRUNCATE
    131131       )
    132132    {
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