VirtualBox

Ignore:
Timestamp:
Nov 15, 2017 4:42:59 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
119080
Message:

IPRT: VFS and NT path handling fixes.

  • Rewrote RTDirQueryInfo for NT. When RTDirOpen* now opens directories, it will request read-attribute access in additions to listing.
  • Major adjustment of the VFS path parser. It now accepts both slashes and will deal differently with '..' in operations on directories.
  • Implemented native RTDirRelPathQueryInfo for NT.
  • NT directory object (NT namespace objects, not file system dirs) fixes for NT specific RTDirRel APIs.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/generic/dirrel-r3-generic.cpp

    r69677 r69705  
    443443        rc = rtDirRelBuildFullPath(pThis, szDstPath, sizeof(szDstPath), pszDst);
    444444        if (RT_SUCCESS(rc))
    445             rc = RTPathRename(pszSrc, pszDst, fRename);
     445            rc = RTPathRename(szSrcPath, szDstPath, fRename);
    446446    }
    447447    return rc;
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