vbox的更動 62635 路徑 trunk/src/VBox/Runtime
- 時間撮記:
- 2016-7-28 下午04:42:06 (8 年 以前)
- 位置:
- trunk/src/VBox/Runtime
- 檔案:
-
- 修改 6 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Runtime/VBox/VBoxRTDeps.cpp
r62477 r62635 42 42 #include <openssl/md5.h> 43 43 #include <openssl/rc4.h> 44 #include <openssl/pem.h> 44 #ifdef RT_OS_WINDOWS 45 # include <iprt/win/windows.h> 46 #endif 47 #include <openssl/pem.h> /* drags in Windows.h */ 45 48 #include <openssl/x509.h> 46 49 #include <openssl/rsa.h> -
trunk/src/VBox/Runtime/common/misc/s3.cpp
r62477 r62635 39 39 #include <iprt/stream.h> 40 40 41 #ifdef RT_OS_WINDOWS /* OpenSSL drags in Windows.h, which isn't compatible with -Wall. */ 42 # include <iprt/win/windows.h> 43 #endif 41 44 #include <curl/curl.h> 42 45 #include <openssl/hmac.h> -
trunk/src/VBox/Runtime/generic/http-curl.cpp
r62570 r62635 54 54 #include "internal/magics.h" 55 55 56 #ifdef RT_OS_WINDOWS /* curl.h drags in windows.h which isn't necessarily -Wall clean. */ 57 # include <iprt/win/windows.h> 58 #endif 56 59 #include <curl/curl.h> 57 60 … … 1424 1427 * special "<local>" entry matches anything without a dot. 1425 1428 */ 1426 RTNETADDRU HostAddr ;1429 RTNETADDRU HostAddr = { 0, 0 }; 1427 1430 int fIsHostIpv4Address = -1; 1428 1431 char *pszEntry = pszBypassFree; … … 1554 1557 if (pszEqual) 1555 1558 { 1556 if ( pszEqual - pszEntry== cchUrlScheme1559 if ( (uintptr_t)(pszEqual - pszEntry) == cchUrlScheme 1557 1560 && RTStrNICmp(pszEntry, pszUrlScheme, cchUrlScheme) == 0) 1558 1561 { … … 1564 1567 { 1565 1568 bool fSchemeMatch = pszEndOfScheme 1566 && pszEndOfScheme - pszEntry== cchUrlScheme1569 && (uintptr_t)(pszEndOfScheme - pszEntry) == cchUrlScheme 1567 1570 && RTStrNICmp(pszEntry, pszUrlScheme, cchUrlScheme) == 0; 1568 1571 if ( !pszBestEntry … … 1621 1624 */ 1622 1625 WINHTTP_PROXY_INFO ProxyInfo; 1623 PRTUTF16 pwszProxy = NULL;1624 PRTUTF16 pwszNoProxy = NULL;1625 1626 WINHTTP_AUTOPROXY_OPTIONS AutoProxyOptions; 1626 1627 RT_ZERO(AutoProxyOptions); … … 1873 1874 if (pThis->fDeleteCaFile) 1874 1875 { 1875 int rc2 = RTFileDelete(pThis->pszCaFile); 1876 int rc2 = RTFileDelete(pThis->pszCaFile); RT_NOREF_PV(rc2); 1876 1877 AssertMsg(RT_SUCCESS(rc2) || !RTFileExists(pThis->pszCaFile), ("rc=%Rrc '%s'\n", rc2, pThis->pszCaFile)); 1877 1878 } -
trunk/src/VBox/Runtime/r3/win/dllmain-win.cpp
r62592 r62635 41 41 BOOL __stdcall DllMain(HANDLE hModule, DWORD dwReason, PVOID pvReserved) 42 42 { 43 RT_NOREF_PV(pvReserved); 44 43 45 switch (dwReason) 44 46 { -
trunk/src/VBox/Runtime/r3/win/fileaio-win.cpp
r62592 r62635 126 126 RTR3DECL(int) RTFileAioGetLimits(PRTFILEAIOLIMITS pAioLimits) 127 127 { 128 int rcBSD = 0;129 128 AssertPtrReturn(pAioLimits, VERR_INVALID_POINTER); 130 129 … … 224 223 RTFILEAIOREQ_NOT_STATE_RETURN_RC(pReqInt, SUBMITTED, VERR_FILE_AIO_IN_PROGRESS); 225 224 AssertReturn(hFile != NIL_RTFILE, VERR_INVALID_HANDLE); 225 RT_NOREF_PV(pvUser); 226 226 227 227 return VERR_NOT_SUPPORTED; … … 271 271 } 272 272 273 RTDECL(int) RTFileAioCtxCreate(PRTFILEAIOCTX phAioCtx, uint32_t cAioReqsMax, 274 uint32_t fFlags) 273 RTDECL(int) RTFileAioCtxCreate(PRTFILEAIOCTX phAioCtx, uint32_t cAioReqsMax, uint32_t fFlags) 275 274 { 276 275 PRTFILEAIOCTXINTERNAL pCtxInt; 277 276 AssertPtrReturn(phAioCtx, VERR_INVALID_POINTER); 278 277 AssertReturn(!(fFlags & ~RTFILEAIOCTX_FLAGS_VALID_MASK), VERR_INVALID_PARAMETER); 278 RT_NOREF_PV(cAioReqsMax); 279 279 280 280 pCtxInt = (PRTFILEAIOCTXINTERNAL)RTMemAllocZ(sizeof(RTFILEAIOCTXINTERNAL)); … … 334 334 RTDECL(uint32_t) RTFileAioCtxGetMaxReqCount(RTFILEAIOCTX hAioCtx) 335 335 { 336 RT_NOREF_PV(hAioCtx); 336 337 return RTFILEAIO_UNLIMITED_REQS; 337 338 } -
trunk/src/VBox/Runtime/r3/xml.cpp
r62566 r62635 1839 1839 error = x.what(); 1840 1840 } 1841 1842 private: 1843 DECLARE_CLS_COPY_CTOR_ASSIGN_NOOP(IOContext) /* (shuts up C4626 and C4625 MSC warnings) */ 1841 1844 }; 1842 1845 … … 1847 1850 { 1848 1851 } 1852 1853 private: 1854 DECLARE_CLS_COPY_CTOR_ASSIGN_NOOP(ReadContext) /* (shuts up C4626 and C4625 MSC warnings) */ 1849 1855 }; 1850 1856 … … 1855 1861 { 1856 1862 } 1863 1864 private: 1865 DECLARE_CLS_COPY_CTOR_ASSIGN_NOOP(WriteContext) /* (shuts up C4626 and C4625 MSC warnings) */ 1857 1866 }; 1858 1867
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器