VirtualBox

儲存庫 vbox 的更動 82564


忽略:
時間撮記:
2019-12-12 上午08:44:25 (5 年 以前)
作者:
vboxsync
svn:sync-xref-src-repo-rev:
135438
訊息:

Replaced RTDirCreate by RTDirCreateFullPath. Checked WaitForOtherProgressCompletion.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp

    r82367 r82564  
    18541854                                if (vrc == VERR_FILE_NOT_FOUND || vrc == VERR_PATH_NOT_FOUND)
    18551855                                {
    1856                                     vrc = RTDirCreate(strMachineFolder.c_str(), 0755, 0);
     1856                                    vrc = RTDirCreateFullPath(strMachineFolder.c_str(), 0755);
    18571857                                    if (RT_FAILURE(vrc))
    18581858                                        throw  setErrorVrc(vrc, tr("Could not create the directory '%s' (%Rrc)"),
     
    19601960                        /* Now wait for the background import operation to complete;
    19611961                         * this throws HRESULTs on error. */
    1962                         pTask->pProgress->WaitForOtherProgressCompletion(pProgressImport, 0 /* indefinite wait */);
     1962                        hrc = pTask->pProgress->WaitForOtherProgressCompletion(pProgressImport, 0 /* indefinite wait */);
    19631963
    19641964                        /* Try to re-use some OVF stuff here */
     1965                        if (SUCCEEDED(hrc))
    19651966                        {
    19661967                            /* Small trick here.
     
    20012002                            vsys.mapVirtualDisks[vd.strDiskId] = vd;
    20022003
     2004                            ++currImageObjectNum;
    20032005                        }
    2004 
    2005                         ++currImageObjectNum;
    20062006                    }
    20072007
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette