VirtualBox

Changeset 49036 in vbox


Ignore:
Timestamp:
Oct 10, 2013 4:59:38 PM (11 years ago)
Author:
vboxsync
Message:

duh3!

File:
1 edited

Legend:

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

    r49035 r49036  
    384384        RTFILE FileDst;
    385385        rc = RTFileOpen(&FileDst, pszDst,
    386                         RTFILE_O_READ | RTFILE_O_OPEN
     386                        RTFILE_O_WRITE | RTFILE_O_CREATE
    387387                        | (fFlags & RTFILECOPY_FLAGS_NO_DST_DENY_WRITE ? RTFILE_O_DENY_NONE : RTFILE_O_DENY_WRITE));
    388388        if (RT_SUCCESS(rc))
     
    564564        RTFILE hFile2;
    565565        rc = RTFileOpen(&hFile2, pszFile2,
    566                         RTFILE_O_WRITE | RTFILE_O_CREATE
     566                        RTFILE_O_READ | RTFILE_O_OPEN
    567567                        | (fFlags & RTFILECOMP_FLAGS_NO_DENY_WRITE_FILE2 ? RTFILE_O_DENY_NONE : RTFILE_O_DENY_WRITE));
    568568        if (RT_SUCCESS(rc))
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