VirtualBox

Ignore:
Timestamp:
Aug 30, 2013 2:20:52 AM (11 years ago)
Author:
vboxsync
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.

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