- Timestamp:
- Apr 9, 2024 11:38:53 PM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/path/RTPathGlob.cpp
r104258 r104260 487 487 if (rc == VERR_BUFFER_OVERFLOW) 488 488 { 489 for (uint32_t iTry = 0; iTry < 10; iTry++)489 for (uint32_t iTry = 0;; iTry++) 490 490 { 491 491 size_t cbPathBuf = RT_ALIGN_Z(cchActual + 1 + 64 * iTry, 64); … … 496 496 RTMemTmpFree(pszPathFree); 497 497 AssertReturn(cchActual >= cbPathBuf, VERR_INTERNAL_ERROR_3); 498 if ( RT_FAILURE(rc) && iTry == 9)498 if (iTry >= 9) 499 499 return rc; 500 500 }
Note:
See TracChangeset
for help on using the changeset viewer.