VirtualBox

Changeset 18805 in vbox


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

Runtime: fixed RTFileReadAll()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/generic/RTFileReadAll-generic.cpp

    r8925 r18805  
    3939RTDECL(int) RTFileReadAll(const char *pszFilename, void **ppvFile, size_t *pcbFile)
    4040{
    41     return RTFileReadAllEx(pszFilename, 0, -1, 0, ppvFile, pcbFile);
     41    return RTFileReadAllEx(pszFilename, 0, RTFOFF_MAX, 0, ppvFile, pcbFile);
    4242}
    4343
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