Changeset 39032 in vbox for trunk/src/VBox/Runtime/common
- Timestamp:
- Oct 19, 2011 11:08:50 AM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 74450
- Location:
- trunk/src/VBox/Runtime/common
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/dbg/dbgas.cpp
r33663 r39032 758 758 */ 759 759 PAVLPVNODECORE pNode = RTAvlPVRemove(&pDbgAs->ModTree, pMod->Core.Key); 760 Assert(pNode == &pMod->Core); 760 Assert(pNode == &pMod->Core); NOREF(pNode); 761 761 762 762 /* … … 793 793 /* remove from the tree */ 794 794 PAVLRUINTPTRNODECORE pNode = RTAvlrUIntPtrRemove(&pDbgAs->MapTree, pMap->Core.Key); 795 Assert(pNode == &pMap->Core); 795 Assert(pNode == &pMap->Core); NOREF(pNode); 796 796 797 797 /* unlink */ -
trunk/src/VBox/Runtime/common/dbg/dbgmoddwarf.cpp
r38620 r39032 1966 1966 uint64_t uSeg = rtDwarfCursor_GetVarSizedU(pCursor, cbInstr - 1, UINT64_MAX); 1967 1967 Log2(("%08x: DW_LNE_set_segment: %ll#x - Watcom Extension\n", offOpCode, uSeg)); 1968 NOREF(uSeg); 1968 1969 /** @todo make use of this? */ 1969 1970 } -
trunk/src/VBox/Runtime/common/ldr/ldrELFRelocatable.cpp.h
r38581 r39032 692 692 NOREF(pvBits); 693 693 694 return VERR_NOT_IMPLEMENTED; 694 return VERR_NOT_IMPLEMENTED; NOREF(pModElf); 695 695 } 696 696 … … 701 701 PRTLDRMODELF pModElf = (PRTLDRMODELF)pMod; 702 702 703 return VERR_NOT_IMPLEMENTED; 703 return VERR_NOT_IMPLEMENTED; NOREF(pModElf); 704 704 } 705 705 … … 711 711 PRTLDRMODELF pModElf = (PRTLDRMODELF)pMod; 712 712 713 return VERR_NOT_IMPLEMENTED; 713 return VERR_NOT_IMPLEMENTED; NOREF(pModElf); 714 714 } 715 715 … … 720 720 PRTLDRMODELF pModElf = (PRTLDRMODELF)pMod; 721 721 722 return VERR_NOT_IMPLEMENTED; 722 return VERR_NOT_IMPLEMENTED; NOREF(pModElf); 723 723 } 724 724 … … 730 730 PRTLDRMODELF pModElf = (PRTLDRMODELF)pMod; 731 731 732 return VERR_NOT_IMPLEMENTED; 732 return VERR_NOT_IMPLEMENTED; NOREF(pModElf); 733 733 } 734 734 … … 740 740 PRTLDRMODELF pModElf = (PRTLDRMODELF)pMod; 741 741 742 return VERR_NOT_IMPLEMENTED; 742 return VERR_NOT_IMPLEMENTED; NOREF(pModElf); 743 743 } 744 744 -
trunk/src/VBox/Runtime/common/misc/circbuf.cpp
r38862 r39032 206 206 pBuf->offWrite = (pBuf->offWrite + cbSize) % pBuf->cbBuf; 207 207 208 size_t cbOldIgnored = 0;209 208 ASMAtomicAddZ(&pBuf->cbUsed, cbSize); 210 209 } -
trunk/src/VBox/Runtime/common/misc/getopt.cpp
r38515 r39032 688 688 689 689 uint32_t uIndex; 690 char *pszRet = NULL;691 690 if (RTStrToUInt32Full(&pszArgThis[cchLong], 10, &uIndex) == VINF_SUCCESS) 692 691 pState->uIndex = uIndex; -
trunk/src/VBox/Runtime/common/misc/req.cpp
r33595 r39032 453 453 RTDECL(int) RTReqAlloc(PRTREQQUEUE pQueue, PRTREQ *ppReq, RTREQTYPE enmType) 454 454 { 455 RT_EXPORT_SYMBOL(RTReqAlloc);456 455 /* 457 456 * Validate input. … … 573 572 return VINF_SUCCESS; 574 573 } 574 RT_EXPORT_SYMBOL(RTReqAlloc); 575 575 576 576 -
trunk/src/VBox/Runtime/common/path/RTPathAppendEx.cpp
r34214 r39032 130 130 * Balance slashes and check for buffer overflow. 131 131 */ 132 bool fAddSlash = false;133 132 if (!RTPATH_IS_SLASH(pszPathEnd[-1])) 134 133 { -
trunk/src/VBox/Runtime/common/string/RTStrCatP.cpp
r36407 r39032 5 5 6 6 /* 7 * Copyright (C) 2010 Oracle Corporation7 * Copyright (C) 2010-2011 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 39 39 * a copy operation. 40 40 */ 41 size_t cbDst = *pcbDst; 42 char *pszDst = RTStrEnd(*ppszDst, *pcbDst); 41 char *pszDstOrg = *ppszDst; 42 size_t cbDst = *pcbDst; 43 char *pszDst = RTStrEnd(pszDstOrg, cbDst); 43 44 AssertReturn(pszDst, VERR_INVALID_PARAMETER); 44 *pcbDst -= pszDst - *ppszDst;45 45 *ppszDst = pszDst; 46 *pcbDst = cbDst - (pszDst - pszDstOrg); 46 47 47 48 return RTStrCopyP(ppszDst, pcbDst, pszSrc); -
trunk/src/VBox/Runtime/common/vfs/vfsmemory.cpp
r36555 r39032 548 548 uint32_t *pfRetEvents) 549 549 { 550 PRTVFSMEMFILE pThis = (PRTVFSMEMFILE)pvThis; 551 int rc; 552 550 int rc; 553 551 if (fEvents != RTPOLL_EVT_ERROR) 554 552 { -
trunk/src/VBox/Runtime/common/vfs/vfsstdfile.cpp
r37596 r39032 253 253 uint32_t *pfRetEvents) 254 254 { 255 PRTVFSSTDFILE pThis = (PRTVFSSTDFILE)pvThis; 256 int rc; 257 255 int rc; 258 256 if (fEvents != RTPOLL_EVT_ERROR) 259 257 { … … 345 343 static DECLCALLBACK(int) rtVfsStdFile_SetOwner(void *pvThis, RTUID uid, RTGID gid) 346 344 { 347 PRTVFSSTDFILE pThis = (PRTVFSSTDFILE)pvThis;348 345 #if 0 346 PRTVFSSTDFILE pThis = (PRTVFSSTDFILE)pvThis; 349 347 return RTFileSetOwner(pThis->hFile, uid, gid); 350 348 #else -
trunk/src/VBox/Runtime/common/zip/gzipvfs.cpp
r34049 r39032 511 511 * be handed on to zlib later on. 512 512 */ 513 size_t cbRead = 0;514 513 rc = RTVfsIoStrmRead(pThis->hVfsIos, pThis->abBuffer, sizeof(RTZIPGZIPHDR), true /*fBlocking*/, NULL /*pcbRead*/); 515 514 if (RT_SUCCESS(rc)) -
trunk/src/VBox/Runtime/common/zip/tar.cpp
r35351 r39032 599 599 uint64_t cbAllWritten = 0; /* Already copied */ 600 600 uint64_t cbRead = 0; /* Actually read in the last step */ 601 uint64_t cbWrite = 0; /* Actually write in the last step */602 601 for (;;) 603 602 {
Note:
See TracChangeset
for help on using the changeset viewer.