VirtualBox

Changeset 18808 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 7, 2009 11:51:54 AM (16 years ago)
Author:
vboxsync
Message:

Runtime: Fix RTStrmGetLine() to return VERR_EOF when the end of the file is reached

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/stream.cpp

    r17008 r18808  
    517517                        if (feof(pStream->pFile))
    518518                        #endif
     519                        {
     520                            rc = VERR_EOF;
    519521                            break;
     522                        }
    520523                        #ifdef HAVE_FWRITE_UNLOCKED
    521524                        if (ferror_unlocked(pStream->pFile))
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