VirtualBox

vbox的更動 61669 路徑 trunk/src/VBox/Debugger


忽略:
時間撮記:
2016-6-13 上午08:44:56 (8 年 以前)
作者:
vboxsync
訊息:

FE/Qt: bugref:8358: Debugger: Fixing issue in binary-search of statistics nodes-tree when existing nodes have same name as new node with additional characters.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Debugger/VBoxDbgStatsQt4.cpp

    r59415 r61669  
    15331533                iDiff = memcmp(pszSubName, pNode->papChildren[i]->pszName, cchCompare);
    15341534                if (!iDiff)
     1535                {
    15351536                    iDiff = cchSubName == cchCompare ? 0 : cchSubName > cchCompare ? 1 : -1;
     1537                    /* For cases when exisiting node name is same as new node name with additional characters. */
     1538                    if (!iDiff)
     1539                        iDiff = cchSubName == pNode->papChildren[i]->cchName ? 0 : cchSubName > pNode->papChildren[i]->cchName ? 1 : -1;
     1540                }
    15361541                if (iDiff > 0)
    15371542                {
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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