儲存庫 vbox 的更動 37280
- 時間撮記:
- 2011-5-31 下午09:31:19 (13 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/HostDrivers/Support/solaris/SUPDrv-solaris.c
r37249 r37280 909 909 * specify a root path. 910 910 */ 911 /** @todo change this to use modctl and use_path=0. */ 911 912 const char *pszName = RTPathFilename(pszFilename); 912 913 AssertReturn(pszName, VERR_INVALID_PARAMETER); 913 char *pszSubDir = RTStrAPrintf2("../../../../../../../../../../.. /%.*s", pszName - pszFilename, pszFilename);914 char *pszSubDir = RTStrAPrintf2("../../../../../../../../../../..%.*s", pszName - pszFilename - 1, pszFilename); 914 915 if (!pszSubDir) 915 916 return VERR_NO_STR_MEMORY; 916 917 917 int idMod = modload(pszSubDir, pszName); 918 if (idMod == -1) 919 { 920 /* This is an horrible hack for avoiding the mod-present check in 921 modrload on S10. Fortunately, nobody else seems to be using that 922 variable... */ 923 extern int swaploaded; 924 int saved_swaploaded = swaploaded; 925 swaploaded = 0; 926 idMod = modload(pszSubDir, pszName); 927 swaploaded = saved_swaploaded; 928 } 918 929 RTStrFree(pszSubDir); 919 930 if (idMod == -1)
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器