Changeset 80519 in vbox for trunk/src/VBox/ImageMounter/vboximg-mount
- Timestamp:
- Aug 30, 2019 5:25:50 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ImageMounter/vboximg-mount/vboximg-mount.cpp
r80517 r80519 24 24 25 25 #define FUSE_USE_VERSION 27 26 #if defined(RT_OS_DARWIN) || defined(RT_OS_LINUX) || defined(RT_OS_F EEBSD)26 #if defined(RT_OS_DARWIN) || defined(RT_OS_LINUX) || defined(RT_OS_FREEBSD) 27 27 # define UNIX_DERIVATIVE 28 28 #endif … … 316 316 /* Retrieve the accessed volume and return the stat data. */ 317 317 uint32_t idxVol; 318 int rcIprt = RTStrToUInt32Full(&pPathSplit->apszComps[1][ 5], 10, &idxVol);318 int rcIprt = RTStrToUInt32Full(&pPathSplit->apszComps[1][2], 10, &idxVol); 319 319 if ( rcIprt == VINF_SUCCESS 320 320 && idxVol < g_cVolumes … … 669 669 RTDIRENTRYEX DirEntry; 670 670 671 rcIprt = RTVfsDirRewind(hVfsDir); AssertRC(rcIprt); 671 672 rcIprt = RTVfsDirReadEx(hVfsDir, &DirEntry, NULL, RTFSOBJATTRADD_NOTHING); 672 673 while (RT_SUCCESS(rcIprt)) … … 675 676 rcIprt = RTVfsDirReadEx(hVfsDir, &DirEntry, NULL, RTFSOBJATTRADD_NOTHING); 676 677 } 678 677 679 RTVfsDirRelease(hVfsDir); 678 680 break;
Note:
See TracChangeset
for help on using the changeset viewer.