VirtualBox

Changeset 96083 in vbox


Ignore:
Timestamp:
Aug 6, 2022 2:06:39 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
152882
Message:

IPRT/RTFileOpen: Added a RTFILE_O_TEMP_AUTO_DELETE flag for implementing tmpfile/tmpfile_s and similar. [build fix] bugref:10261

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/darwin/fileio-r0drv-darwin.cpp

    r96079 r96083  
    8181RTDECL(int) RTFileOpen(PRTFILE phFile, const char *pszFilename, uint64_t fOpen)
    8282{
    83     AssertReturn(!(fFlags & RTFILE_O_TEMP_AUTO_DELETE), VERR_NOT_SUPPORTED);
     83    AssertReturn(!(fOpen & RTFILE_O_TEMP_AUTO_DELETE), VERR_NOT_SUPPORTED);
    8484
    8585    RTFILEINT *pThis = (RTFILEINT *)RTMemAllocZ(sizeof(*pThis));
Note: See TracChangeset for help on using the changeset viewer.

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