Changeset 37609 in vbox for trunk/src/VBox
- Timestamp:
- Jun 23, 2011 12:26:13 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 72455
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/solaris/coredumper-solaris.cpp
r36474 r37609 218 218 if (fd >= 0) 219 219 { 220 RTFILE hFile = fd;220 RTFILE hFile = (RTFILE)(uintptr_t)fd; 221 221 RTFileGetSize(hFile, &cb); 222 222 RTFileClose(hFile); … … 367 367 if (fd >= 0) 368 368 { 369 RTFILE hFile = fd;369 RTFILE hFile = (RTFILE)(uintptr_t)fd; 370 370 uint64_t u64Size; 371 371 RTFileGetSize(hFile, &u64Size); … … 415 415 if (fd >= 0) 416 416 { 417 RTFILE hFile = fd;417 RTFILE hFile = (RTFILE)(uintptr_t)fd; 418 418 size_t cbProcInfo = sizeof(psinfo_t); 419 419 rc = ReadFileNoIntr(hFile, &pVBoxProc->ProcInfo, cbProcInfo); … … 450 450 if (fd >= 0) 451 451 { 452 RTFILE hFile = fd;452 RTFILE hFile = (RTFILE)(uintptr_t)fd; 453 453 size_t cbRead; 454 454 size_t cbProcStatus = sizeof(pstatus_t); … … 550 550 } 551 551 552 RTFILE hFile = fd;552 RTFILE hFile = (RTFILE)(uintptr_t)fd; 553 553 uint64_t u64Size; 554 554 RTFileGetSize(hFile, &u64Size); … … 645 645 } 646 646 647 RTFILE hFile = fd;647 RTFILE hFile = (RTFILE)(uintptr_t)fd; 648 648 RTStrPrintf(szPath, sizeof(szPath), "/proc/%d/as", (int)pVBoxProc->Process); 649 649 fd = open(szPath, O_RDONLY); 650 650 if (fd >= 0) 651 651 { 652 pVBoxProc->hAs = fd;652 pVBoxProc->hAs = (RTFILE)(uintptr_t)fd; 653 653 654 654 /* … … 1185 1185 if (fd >= 0) 1186 1186 { 1187 RTFILE hFile = fd;1187 RTFILE hFile = (RTFILE)(uintptr_t)fd; 1188 1188 uint64_t u64Size; 1189 1189 RTFileGetSize(hFile, &u64Size); … … 1819 1819 } 1820 1820 1821 pVBoxProc->hAs = fd;1821 pVBoxProc->hAs = (RTFILE)(uintptr_t)fd; 1822 1822 1823 1823 /* … … 1832 1832 } 1833 1833 1834 pVBoxCore->hCoreFile = fd;1834 pVBoxCore->hCoreFile = (RTFILE)(uintptr_t)fd; 1835 1835 1836 1836 pVBoxCore->offWrite = 0;
Note:
See TracChangeset
for help on using the changeset viewer.