VirtualBox

Ignore:
Timestamp:
Oct 22, 2009 12:34:22 PM (15 years ago)
Author:
vboxsync
Message:

*,RTFileOpen: Fixing RTFileOpen flag misdesign: The deny, access and action flags are mandatory now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedFolders/vbsf.cpp

    r21485 r23973  
    608608 * @retval pfOpen     iprt create flags
    609609 */
    610 static int vbsfConvertFileOpenFlags(unsigned fShflFlags, RTFMODE fMode, SHFLHANDLE handleInitial, unsigned *pfOpen)
    611 {
    612     unsigned fOpen = 0;
     610static int vbsfConvertFileOpenFlags(unsigned fShflFlags, RTFMODE fMode, SHFLHANDLE handleInitial, uint32_t *pfOpen)
     611{
     612    uint32_t fOpen = 0;
    613613    int rc = VINF_SUCCESS;
    614614
     
    842842    SHFLFILEHANDLE *pHandle = 0;
    843843    /* Open or create a file. */
    844     unsigned fOpen = 0;
     844    uint32_t fOpen = 0;
    845845    bool fNoError = false;
    846846    static int cErrors;
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