VirtualBox

Changeset 25910 in vbox for trunk/src/VBox/Runtime/generic


Ignore:
Timestamp:
Jan 19, 2010 9:54:05 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
56728
Message:

RTFileReadAll: Must pass DENY_NONE or we'll assert in down in RTFileOpen.

File:
1 edited

Legend:

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

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