- Timestamp:
- Jul 26, 2016 2:05:05 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/vfs/vfsmemory.cpp
r62477 r62561 798 798 rtVfsMemFileInit(pThis, cbEstimate, RTFILE_O_READ | RTFILE_O_WRITE); 799 799 800 *phVfsFile = hVfsFile; 801 return VINF_SUCCESS; 800 if (hVfsIos != NIL_RTVFSIOSTREAM) 801 { 802 RTVFSIOSTREAM hVfsIosDst = RTVfsFileToIoStream(hVfsFile); 803 rc = RTVfsUtilPumpIoStreams(hVfsIos, hVfsIosDst, pThis->cbExtent); 804 RTVfsIoStrmRelease(hVfsIosDst); 805 } 806 807 if (RT_SUCCESS(rc)) 808 { 809 *phVfsFile = hVfsFile; 810 return VINF_SUCCESS; 811 } 812 813 RTVfsFileRelease(hVfsFile); 802 814 } 803 815 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.