VirtualBox

Changeset 9785 in vbox for trunk/src/VBox/Runtime/r3/fs.cpp


Ignore:
Timestamp:
Jun 18, 2008 10:48:49 AM (16 years ago)
Author:
vboxsync
Message:

Update the return value.

File:
1 edited

Legend:

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

    r8245 r9785  
    133133{
    134134    if (!(fMode & RTFS_UNIX_MASK))
    135         rtFsModeFromDos(fMode, pszName, cbName);
     135        fMode = rtFsModeFromDos(fMode, pszName, cbName);
    136136    else if (!(fMode & RTFS_DOS_MASK))
    137         rtFsModeFromUnix(fMode, pszName, cbName);
     137        fMode = rtFsModeFromUnix(fMode, pszName, cbName);
    138138    else if (!(fMode & RTFS_TYPE_MASK))
    139139        fMode |= fMode & RTFS_DOS_DIRECTORY ? RTFS_TYPE_DIRECTORY : RTFS_TYPE_FILE;
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