Changeset 23973 in vbox for trunk/src/VBox/Runtime/common
- Timestamp:
- Oct 22, 2009 12:34:22 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 53801
- Location:
- trunk/src/VBox/Runtime/common/misc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/misc/s3.cpp
r22735 r23973 873 873 /* Open the file */ 874 874 RTFILE hFile; 875 int rc = RTFileOpen(&hFile, pszFileName, RTFILE_O_CREATE | RTFILE_O_WRITE );875 int rc = RTFileOpen(&hFile, pszFileName, RTFILE_O_CREATE | RTFILE_O_WRITE | RTFILE_O_DENY_NONE); 876 876 if (RT_FAILURE(rc)) 877 877 return rc; … … 931 931 /* Open the file */ 932 932 RTFILE hFile; 933 int rc = RTFileOpen(&hFile, pszFileName, RTFILE_O_OPEN | RTFILE_O_READ );933 int rc = RTFileOpen(&hFile, pszFileName, RTFILE_O_OPEN | RTFILE_O_READ | RTFILE_O_DENY_NONE); 934 934 if (RT_FAILURE(rc)) 935 935 return rc; -
trunk/src/VBox/Runtime/common/misc/tar.cpp
r21859 r23973 324 324 /* Open the tar file */ 325 325 RTFILE hFile; 326 int rc = RTFileOpen(&hFile, pszTarFile, RTFILE_O_READ );326 int rc = RTFileOpen(&hFile, pszTarFile, RTFILE_O_READ | RTFILE_O_OPEN | RTFILE_O_DENY_NONE); 327 327 if (RT_FAILURE(rc)) 328 328 return rc; … … 383 383 /* Open the tar file */ 384 384 RTFILE hFile; 385 int rc = RTFileOpen(&hFile, pszTarFile, RTFILE_O_READ );385 int rc = RTFileOpen(&hFile, pszTarFile, RTFILE_O_READ | RTFILE_O_OPEN | RTFILE_O_DENY_NONE); 386 386 if (RT_FAILURE(rc)) 387 387 return rc; … … 473 473 /* Open the tar file */ 474 474 RTFILE hFile; 475 int rc = RTFileOpen(&hFile, pszTarFile, RTFILE_O_READ );475 int rc = RTFileOpen(&hFile, pszTarFile, RTFILE_O_READ | RTFILE_O_OPEN | RTFILE_O_DENY_NONE); 476 476 if (RT_FAILURE(rc)) 477 477 return rc; … … 567 567 /* Open the tar file */ 568 568 RTFILE hFile; 569 int rc = RTFileOpen(&hFile, pszTarFile, RTFILE_O_READ );569 int rc = RTFileOpen(&hFile, pszTarFile, RTFILE_O_READ | RTFILE_O_OPEN | RTFILE_O_DENY_NONE); 570 570 if (RT_FAILURE(rc)) 571 571 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.