Changeset 8954 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- May 20, 2008 2:02:01 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/generic/RTFileReadAllByHandleEx-generic.cpp
r8925 r8954 63 63 cbAllocFile = cbMax; 64 64 size_t cbAllocMem = (size_t)cbAllocFile; 65 if ( (RTFOFF)cbAllocMem == cbAllocFile 66 && cbAllocMem) 65 if ((RTFOFF)cbAllocMem == cbAllocFile) 67 66 { 68 67 /* … … 99 98 rc = VERR_NO_MEMORY; 100 99 } 101 else if (!cbAllocMem)102 rc = VERR_EOF;103 100 else 104 101 rc = VERR_TOO_MUCH_DATA;
Note:
See TracChangeset
for help on using the changeset viewer.