儲存庫 vbox 的更動 67512
- 時間撮記:
- 2017-6-20 下午02:51:54 (7 年 以前)
- 位置:
- trunk/src/VBox/Runtime/common/fs
- 檔案:
-
- 修改 2 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Runtime/common/fs/isomaker.cpp
r67491 r67512 2914 2914 ObjInfo.Attr.u.Unix.GenerationId = 0; 2915 2915 ObjInfo.Attr.u.Unix.Device = 0; 2916 pObjInfo = &ObjInfo; 2916 2917 } 2917 2918 else … … 3403 3404 else 3404 3405 { 3406 Log4(("rtFsIsoMakerFinalizeRemoveOrphans: %#x cbData=%#RX64\n", pCur->idxObj, 3407 pCur->enmType == RTFSISOMAKEROBJTYPE_FILE ? ((PRTFSISOMAKERFILE)(pCur))->cbData : 0)); 3405 3408 int rc = rtFsIsoMakerObjRemoveWorker(pThis, pCur); 3406 3409 if (RT_SUCCESS(rc)) … … 3815 3818 *poffData += RT_ALIGN_64(pCurFile->cbData, RTFSISOMAKER_SECTOR_SIZE); 3816 3819 RTListAppend(&pThis->FinalizedFiles, &pCurFile->FinalizedEntry); 3820 Log4(("rtFsIsoMakerFinalizeData: %#x @%#RX64 cbData=%#RX64\n", pCurFile->Core.idxObj, pCurFile->offData, pCurFile->cbData)); 3817 3821 } 3818 3822 -
trunk/src/VBox/Runtime/common/fs/isomakerimport.cpp
r67511 r67512 523 523 } 524 524 /* 525 * Add the object and enter it into the namespace.525 * Add the object. 526 526 */ 527 527 PRTFSISOMKIMPBLOCK2FILE pBlock2File = NULL; … … 547 547 } 548 548 549 pBlock2File = (PRTFSISOMKIMPBLOCK2FILE)RTAvlU32Get(&pThis->Block2FileRoot, ISO9660_GET_ENDIAN(&pDirRec->offExtent)); 549 if (ISO9660_GET_ENDIAN(&pDirRec->cbData) > 0) /* no data tracking for zero byte files */ 550 pBlock2File = (PRTFSISOMKIMPBLOCK2FILE)RTAvlU32Get(&pThis->Block2FileRoot, ISO9660_GET_ENDIAN(&pDirRec->offExtent)); 550 551 if (!pBlock2File) 551 552 { … … 567 568 } 568 569 } 570 569 571 if (RT_SUCCESS(rc)) 570 572 { 573 /* 574 * Enter the object into the namespace. 575 */ 571 576 rc = RTFsIsoMakerObjSetNameAndParent(pThis->hIsoMaker, idxObj, idxDir, 572 577 !fUnicode ? RTFSISOMAKER_NAMESPACE_ISO_9660 : RTFSISOMAKER_NAMESPACE_JOLIET, … … 590 595 RTListAppend(pTodoList, &pImpDir->Entry); 591 596 } 592 else if (!pBlock2File) 597 else if ( !pBlock2File 598 && ISO9660_GET_ENDIAN(&pDirRec->cbData) > 0 /* no data tracking for zero byte files */) 593 599 { 594 600 pBlock2File = (PRTFSISOMKIMPBLOCK2FILE)RTMemAlloc(sizeof(*pBlock2File));
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器