Changeset 69753 in vbox for trunk/src/VBox/Runtime/common/vfs
- Timestamp:
- Nov 19, 2017 2:27:58 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/vfs/vfsstddir.cpp
r69720 r69753 54 54 { 55 55 /** The directory handle. */ 56 PRTDIRhDir;56 RTDIR hDir; 57 57 /** Whether to leave the handle open when the VFS handle is closed. */ 58 58 bool fLeaveOpen; … … 88 88 static DECLCALLBACK(int) rtVfsStdDir_QueryEntryInfo(void *pvThis, const char *pszEntry, 89 89 PRTFSOBJINFO pObjInfo, RTFSOBJATTRADD enmAddAttr); 90 static int rtVfsDirFromRTDir( PRTDIR hDir, uint32_t fFlags, bool fLeaveOpen, PRTVFSDIR phVfsDir);90 static int rtVfsDirFromRTDir(RTDIR hDir, uint32_t fFlags, bool fLeaveOpen, PRTVFSDIR phVfsDir); 91 91 92 92 … … 329 329 PRTVFSSTDDIR pThis = (PRTVFSSTDDIR)pvThis; 330 330 /** @todo subdir open flags */ 331 PRTDIR hSubDir;331 RTDIR hSubDir; 332 332 int rc = RTDirRelDirOpenFiltered(pThis->hDir, pszSubDir, RTDIRFILTER_NONE, fFlags, &hSubDir); 333 333 if (RT_SUCCESS(rc)) … … 352 352 else 353 353 { 354 PRTDIR hSubDir;354 RTDIR hSubDir; 355 355 rc = RTDirRelDirCreate(pThis->hDir, pszSubDir, fMode, 0 /* fFlags */, &hSubDir); 356 356 if (RT_SUCCESS(rc)) … … 547 547 * @param phVfsDir Where to return the handle. 548 548 */ 549 static int rtVfsDirFromRTDir( PRTDIR hDir, uint32_t fFlags, bool fLeaveOpen, PRTVFSDIR phVfsDir)549 static int rtVfsDirFromRTDir(RTDIR hDir, uint32_t fFlags, bool fLeaveOpen, PRTVFSDIR phVfsDir) 550 550 { 551 551 PRTVFSSTDDIR pThis; … … 567 567 568 568 569 RTDECL(int) RTVfsDirFromRTDir( PRTDIR hDir, bool fLeaveOpen, PRTVFSDIR phVfsDir)569 RTDECL(int) RTVfsDirFromRTDir(RTDIR hDir, bool fLeaveOpen, PRTVFSDIR phVfsDir) 570 570 { 571 571 AssertReturn(RTDirIsValid(hDir), VERR_INVALID_HANDLE); … … 579 579 * Open the file the normal way and pass it to RTVfsFileFromRTFile. 580 580 */ 581 PRTDIR hDir;581 RTDIR hDir; 582 582 int rc = RTDirOpenFiltered(&hDir, pszPath, RTDIRFILTER_NONE, fFlags); 583 583 if (RT_SUCCESS(rc))
Note:
See TracChangeset
for help on using the changeset viewer.