VirtualBox

Changeset 21500 in vbox for trunk/src/VBox/Runtime/r3/posix


Ignore:
Timestamp:
Jul 10, 2009 8:40:13 PM (15 years ago)
Author:
vboxsync
Message:

Fix add burn with Solaris additions

File:
1 edited

Legend:

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

    r21499 r21500  
    212212            iErr = 0;
    213213            /* Switch direct I/O on now if requested */
     214# if defined(RT_OS_SOLARIS) && !defined(IN_GUEST)
    214215            if (fOpen & RTFILE_O_NO_CACHE)
    215 # if defined(RT_OS_SOLARIS) && !defined(IN_GUEST)
    216216                iErr = directio(fh, DIRECTIO_ON);
    217217# elif defined(RT_OS_DARWIN)
     218            if (fOpen & RTFILE_O_NO_CACHE)
    218219                iErr = fcntl(fh, F_NOCACHE);
    219220# endif
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