VirtualBox

Ignore:
Timestamp:
Jun 14, 2019 4:33:05 PM (5 years ago)
Author:
vboxsync
Message:

IPRT/rtFsModeFromDos: Pass desired object type when normalizing mode masks where the type is implicit (e.g. RTDirCreate). ticketref:18345 bugref:9172

File:
1 edited

Legend:

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

    r77684 r79155  
    819819     * Normalize the mode and call the API.
    820820     */
    821     fMode = rtFsModeNormalize(fMode, NULL, 0);
     821    fMode = rtFsModeNormalize(fMode, NULL, 0, RTFS_TYPE_FILE);
    822822    if (!rtFsModeIsValid(fMode))
    823823        return 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