VirtualBox

Changeset 24001 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 22, 2009 8:23:22 PM (15 years ago)
Author:
vboxsync
Message:

Runtime: Darwin requires an extra parameter for F_NOCACHE which indicates if the cache should be enabled (0) or disabled (> 0)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/posix/fileio-posix.cpp

    r23973 r24001  
    234234# elif defined(RT_OS_DARWIN)
    235235            if (fOpen & RTFILE_O_NO_CACHE)
    236                 iErr = fcntl(fh, F_NOCACHE);
     236                iErr = fcntl(fh, F_NOCACHE, 1);
    237237# endif
    238238            if (iErr < 0)
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