VirtualBox

Changeset 32836 in vbox for trunk/src


Ignore:
Timestamp:
Sep 30, 2010 8:41:24 AM (14 years ago)
Author:
vboxsync
Message:

Runtime: fix check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/misc/tar.cpp

    r32756 r32836  
    608608    if (fOpen & RTFILE_O_WRITE)
    609609    {
    610         if (pInt->fOpenMode & RTFILE_O_READ)
     610        if (!(pInt->fOpenMode & RTFILE_O_WRITE))
    611611            return VERR_WRITE_PROTECT;
    612612        if (pInt->fFileOpenForWrite)
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