Changeset 67186 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Jun 1, 2017 6:39:08 AM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 115863
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/Makefile.kmk
r67132 r67186 608 608 common/vfs/vfsbase.cpp \ 609 609 common/vfs/vfschain.cpp \ 610 common/vfs/vfsfss2dir.cpp \ 610 611 common/vfs/vfsiosmisc.cpp \ 611 612 common/vfs/vfsmemory.cpp \ -
trunk/src/VBox/Runtime/common/vfs/vfsbase.cpp
r67166 r67186 2087 2087 2088 2088 2089 RTDECL(void *) RTVfsFsStreamToPrivate(RTVFSFSSTREAM hVfsFss, PCRTVFSFSSTREAMOPS pFsStreamOps) 2090 { 2091 RTVFSFSSTREAMINTERNAL *pThis = hVfsFss; 2092 AssertPtrReturn(pThis, NULL); 2093 AssertReturn(pThis->uMagic == RTVFSFSSTREAM_MAGIC, NULL); 2094 if (pThis->pOps != pFsStreamOps) 2095 return NULL; 2096 return pThis->Base.pvThis; 2097 } 2098 2089 2099 2090 2100 /* … … 2364 2374 2365 2375 2376 RTDECL(int) RTVfsDirOpenFileAsIoStream(RTVFSDIR hVfsDir, const char *pszPath, uint64_t fOpen, PRTVFSIOSTREAM phVfsIos) 2377 { 2378 RTVFSFILE hVfsFile; 2379 int rc = RTVfsDirOpenFile(hVfsDir, pszPath, fOpen, &hVfsFile); 2380 if (RT_SUCCESS(rc)) 2381 { 2382 *phVfsIos = RTVfsFileToIoStream(hVfsFile); 2383 AssertStmt(*phVfsIos != NIL_RTVFSIOSTREAM, rc = VERR_INTERNAL_ERROR_2); 2384 RTVfsFileRelease(hVfsFile); 2385 } 2386 return rc; 2387 } 2388 2389 2390 2366 2391 RTDECL(int) RTVfsDirQueryPathInfo(RTVFSDIR hVfsDir, const char *pszPath, PRTFSOBJINFO pObjInfo, 2367 2392 RTFSOBJATTRADD enmAddAttr, uint32_t fFlags)
Note:
See TracChangeset
for help on using the changeset viewer.