vbox的更動 64428 路徑 trunk/src/libs
- 時間撮記:
- 2016-10-26 下午12:35:20 (8 年 以前)
- 位置:
- trunk/src/libs/xpcom18a4
- 檔案:
-
- 修改 3 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/libs/xpcom18a4/ipc/ipcd/client/src/ipcConnectionUnix.cpp
r61402 r64428 420 420 PRNetAddr addr; 421 421 PRSocketOptionData opt; 422 nsresult rv = NS_ERROR_FAILURE; 422 // don't use NS_ERROR_FAILURE as we want to detect these kind of errors 423 // in the frontend 424 nsresult rv = NS_ERROR_SOCKET_FAIL; 423 425 424 426 fd = PR_OpenTCPSocket(PR_AF_LOCAL); … … 480 482 if (NS_FAILED(rv)) 481 483 { 482 rv = IPC_SpawnDaemon(daemonPath); 484 nsresult rv1 = IPC_SpawnDaemon(daemonPath); 485 if (NS_SUCCEEDED(rv1) || rv != NS_ERROR_SOCKET_FAIL) 486 rv = rv1; 483 487 if (NS_SUCCEEDED(rv)) 484 488 rv = TryConnect(&fd); -
trunk/src/libs/xpcom18a4/xpcom/base/nsError.h
r34653 r64428 215 215 #define NS_ERROR_FACTORY_EXISTS (NS_ERROR_BASE + 0x100) 216 216 217 /* Socket failures */ 218 #define NS_ERROR_SOCKET_FAIL (NS_ERROR_BASE + 0x200) 219 217 220 218 221 /* For COM compatibility reasons, we want to use exact error code numbers -
trunk/src/libs/xpcom18a4/xpcom/components/nsComponentManager.cpp
r47778 r64428 1962 1962 { 1963 1963 // Translate error values 1964 rv = NS_ERROR_FACTORY_NOT_REGISTERED; 1964 if (rv != NS_ERROR_SOCKET_FAIL) 1965 rv = NS_ERROR_FACTORY_NOT_REGISTERED; 1965 1966 } 1966 1967
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器