VirtualBox

Changeset 25292 in vbox for trunk/src/VBox/Runtime/r3/win


Ignore:
Timestamp:
Dec 10, 2009 10:29:57 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
55839
Message:

RTDirReadEx parameter to resolve symlinks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/dir-win.cpp

    r23298 r25292  
    310310
    311311
    312 RTDECL(int) RTDirReadEx(PRTDIR pDir, PRTDIRENTRYEX pDirEntry, size_t *pcbDirEntry, RTFSOBJATTRADD enmAdditionalAttribs)
    313 {
     312RTDECL(int) RTDirReadEx(PRTDIR pDir, PRTDIRENTRYEX pDirEntry, size_t *pcbDirEntry, RTFSOBJATTRADD enmAdditionalAttribs, uint32_t fFlags)
     313{
     314    /** @todo Symlinks: Find[First|Next]FileW will return info about
     315        the link, so RTPATH_F_FOLLOW_LINK is not handled correctly. */
    314316    /*
    315317     * Validate input.
     
    331333        return VERR_INVALID_PARAMETER;
    332334    }
     335    AssertMsgReturn(RTPATH_F_IS_VALID(fFlags, 0), ("%#x\n", fFlags), VERR_INVALID_PARAMETER);
    333336    size_t cbDirEntry = sizeof(*pDirEntry);
    334337    if (pcbDirEntry)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette