VirtualBox

Changeset 58826 in vbox for trunk/src/VBox/Runtime/r3


Ignore:
Timestamp:
Nov 23, 2015 4:25:03 PM (9 years ago)
Author:
vboxsync
Message:

rtFileRecalcAndValidateFlags: Correct windows access mask assertion.

File:
1 edited

Legend:

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

    r58825 r58826  
    145145     */
    146146#ifdef RT_OS_WINDOWS
    147     AssertMsgReturn((fOpen & RTFILE_O_ACCESS_MASK) || (fOpen & RTFILE_O_ACCESS_MASK) == RTFILE_O_ATTR_ONLY, ("Missing RTFILE_O_READ/WRITE/ATTR_ONLY: fOpen=%#llx\n", fOpen), VERR_INVALID_PARAMETER);
     147    AssertMsgReturn((fOpen & RTFILE_O_ACCESS_MASK) || (fOpen & RTFILE_O_ACCESS_ATTR_MASK),
     148                    ("Missing RTFILE_O_READ/WRITE/ACCESS_ATTR: fOpen=%#llx\n", fOpen), VERR_INVALID_PARAMETER);
    148149#else
    149150    AssertMsgReturn(fOpen & RTFILE_O_ACCESS_MASK, ("Missing RTFILE_O_READ/WRITE: fOpen=%#llx\n", fOpen), VERR_INVALID_PARAMETER);
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