VirtualBox

Changeset 23973 in vbox for trunk/src/VBox/Main/xpcom


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

*,RTFileOpen: Fixing RTFileOpen flag misdesign: The deny, access and action flags are mandatory now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/xpcom/server.cpp

    r23223 r23973  
    10631063            char szBuf[32];
    10641064            const char *lf = "\n";
    1065             RTFileOpen(&pidFile, pszPidFile, RTFILE_O_WRITE | RTFILE_O_CREATE_REPLACE);
     1065            RTFileOpen(&pidFile, pszPidFile, RTFILE_O_WRITE | RTFILE_O_CREATE_REPLACE | RTFILE_O_DENY_NONE);
    10661066            RTStrFormatNumber(szBuf, getpid(), 10, 0, 0, 0);
    10671067            RTFileWrite(pidFile, szBuf, strlen(szBuf), NULL);
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