Changeset 39612 in vbox for trunk/src/VBox/Runtime/r3
- Timestamp:
- Dec 14, 2011 2:19:55 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 75392
- Location:
- trunk/src/VBox/Runtime/r3
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/dir.cpp
r34015 r39612 104 104 * where the directory exists but we don't have write access to the parent directory. 105 105 */ 106 rc = RTDirCreate(szAbsPath, fMode );106 rc = RTDirCreate(szAbsPath, fMode, 0); 107 107 if (rc == VERR_ALREADY_EXISTS) 108 108 rc = VINF_SUCCESS; … … 674 674 675 675 676 RTDECL(int) RTDirOpenFiltered(PRTDIR *ppDir, const char *pszPath, RTDIRFILTER enmFilter )676 RTDECL(int) RTDirOpenFiltered(PRTDIR *ppDir, const char *pszPath, RTDIRFILTER enmFilter, uint32_t fOpen) 677 677 { 678 678 /* -
trunk/src/VBox/Runtime/r3/dir2.cpp
r34015 r39612 116 116 117 117 //case RTDIRENTRYTYPE_SYMLINK: 118 // rc = RTSymlinkDelete(pszBuf );118 // rc = RTSymlinkDelete(pszBuf, 0); 119 119 // break; 120 120 -
trunk/src/VBox/Runtime/r3/posix/dir-posix.cpp
r39083 r39612 78 78 79 79 80 RTDECL(int) RTDirCreate(const char *pszPath, RTFMODE fMode )80 RTDECL(int) RTDirCreate(const char *pszPath, RTFMODE fMode, uint32_t fCreate) 81 81 { 82 82 int rc; -
trunk/src/VBox/Runtime/r3/posix/path-posix.cpp
r36906 r39612 523 523 524 524 525 RTR3DECL(int) RTPathUnlink(const char *pszPath, uint32_t fUnlink) 526 { 527 return VERR_NOT_IMPLEMENTED; 528 } 529 530 525 531 RTDECL(bool) RTPathExists(const char *pszPath) 526 532 { -
trunk/src/VBox/Runtime/r3/posix/symlink-posix.cpp
r33426 r39612 92 92 93 93 94 RTDECL(int) RTSymlinkCreate(const char *pszSymlink, const char *pszTarget, RTSYMLINKTYPE enmType )94 RTDECL(int) RTSymlinkCreate(const char *pszSymlink, const char *pszTarget, RTSYMLINKTYPE enmType, uint32_t fCreate) 95 95 { 96 96 /* … … 125 125 } 126 126 127 LogFlow(("RTSymlinkCreate(%p={%s}, %p={%s}, %d ): returns %Rrc\n", pszSymlink, pszSymlink, pszTarget, pszTarget, enmType, rc));128 return rc; 129 } 130 131 132 RTDECL(int) RTSymlinkDelete(const char *pszSymlink )127 LogFlow(("RTSymlinkCreate(%p={%s}, %p={%s}, %d, %#x): returns %Rrc\n", pszSymlink, pszSymlink, pszTarget, pszTarget, enmType, fCreate, rc)); 128 return rc; 129 } 130 131 132 RTDECL(int) RTSymlinkDelete(const char *pszSymlink, uint32_t fDelete) 133 133 { 134 134 char const *pszNativeSymlink; … … 154 154 } 155 155 156 LogFlow(("RTSymlinkDelete(%p={%s} ): returns %Rrc\n", pszSymlink, pszSymlink, rc));157 return rc; 158 } 159 160 161 RTDECL(int) RTSymlinkRead(const char *pszSymlink, char *pszTarget, size_t cbTarget )156 LogFlow(("RTSymlinkDelete(%p={%s}, #%x): returns %Rrc\n", pszSymlink, pszSymlink, fDelete, rc)); 157 return rc; 158 } 159 160 161 RTDECL(int) RTSymlinkRead(const char *pszSymlink, char *pszTarget, size_t cbTarget, uint32_t fRead) 162 162 { 163 163 char *pszMyTarget; -
trunk/src/VBox/Runtime/r3/win/dir-win.cpp
r34507 r39612 48 48 49 49 50 RTDECL(int) RTDirCreate(const char *pszPath, RTFMODE fMode )50 RTDECL(int) RTDirCreate(const char *pszPath, RTFMODE fMode, uint32_t fCreate) 51 51 { 52 52 /* -
trunk/src/VBox/Runtime/r3/win/path-win.cpp
r36879 r39612 579 579 580 580 581 RTR3DECL(int) RTPathUnlink(const char *pszPath, uint32_t fUnlink) 582 { 583 return VERR_NOT_IMPLEMENTED; 584 } 585 586 581 587 RTDECL(bool) RTPathExists(const char *pszPath) 582 588 { -
trunk/src/VBox/Runtime/r3/win/symlink-win.cpp
r33437 r39612 117 117 118 118 119 RTDECL(int) RTSymlinkCreate(const char *pszSymlink, const char *pszTarget, RTSYMLINKTYPE enmType )119 RTDECL(int) RTSymlinkCreate(const char *pszSymlink, const char *pszTarget, RTSYMLINKTYPE enmType, uint32_t fCreate) 120 120 { 121 121 /* … … 145 145 if (!s_pfnCreateSymbolicLinkW) 146 146 { 147 LogFlow(("RTSymlinkCreate(%p={%s}, %p={%s}, %d ): returns VERR_NOT_SUPPORTED - Windows API not found\n",148 pszSymlink, pszSymlink, pszTarget, pszTarget, enmType ));147 LogFlow(("RTSymlinkCreate(%p={%s}, %p={%s}, %d, %#x): returns VERR_NOT_SUPPORTED - Windows API not found\n", 148 pszSymlink, pszSymlink, pszTarget, pszTarget, enmType, fCreate)); 149 149 return VERR_NOT_SUPPORTED; 150 150 } … … 216 216 } 217 217 218 LogFlow(("RTSymlinkCreate(%p={%s}, %p={%s}, %d ): returns %Rrc\n", pszSymlink, pszSymlink, pszTarget, pszTarget, enmType, rc));218 LogFlow(("RTSymlinkCreate(%p={%s}, %p={%s}, %d, %#x): returns %Rrc\n", pszSymlink, pszSymlink, pszTarget, pszTarget, enmType, fCreate, rc)); 219 219 return rc; 220 220 } 221 221 222 222 223 RTDECL(int) RTSymlinkDelete(const char *pszSymlink )223 RTDECL(int) RTSymlinkDelete(const char *pszSymlink, uint32_t fDelete) 224 224 { 225 225 /* … … 259 259 } 260 260 261 LogFlow(("RTSymlinkDelete(%p={%s} ): returns %Rrc\n", pszSymlink, pszSymlink, rc));261 LogFlow(("RTSymlinkDelete(%p={%s}, %#x): returns %Rrc\n", pszSymlink, pszSymlink, fDelete, rc)); 262 262 return rc; 263 263 } 264 264 265 265 266 RTDECL(int) RTSymlinkRead(const char *pszSymlink, char *pszTarget, size_t cbTarget )266 RTDECL(int) RTSymlinkRead(const char *pszSymlink, char *pszTarget, size_t cbTarget, uint32_t fRead) 267 267 { 268 268 char *pszMyTarget;
Note:
See TracChangeset
for help on using the changeset viewer.