VirtualBox

儲存庫 vbox 的更動 48175


忽略:
時間撮記:
2013-8-30 上午02:20:52 (11 年 以前)
作者:
vboxsync
訊息:

Backed out r88349 because the code was deliberatly checking if rc was VINF_EOF to catch incorrect I/O stream read implementations.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Runtime/common/vfs/vfsbase.cpp

    r48021 r48175  
    15551555        if (RT_FAILURE(rc))
    15561556            break;
    1557         if (cbRead == 0) /* will never return VINF_EOF as we passed cbRead so the
    1558                             caller is expected to handle partial reads. */
     1557        if (rc == VINF_EOF && cbRead == 0)
    15591558            break;
    15601559
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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