Changeset 21672 in vbox
- Timestamp:
- Jul 17, 2009 12:07:16 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/posix/dir-posix.cpp
r20111 r21672 89 89 if (mkdir(pszNativePath, fMode & RTFS_UNIX_MASK)) 90 90 { 91 rc = errno; 91 92 #ifdef RT_OS_SOLARIS 92 if (errno == ENOSYS) /* ENOSYS has a slight different meaning (mkdir on nfs mount point). */ 93 rc = VERR_ALREADY_EXISTS; 94 else 95 #endif 96 rc = RTErrConvertFromErrno(errno); 93 /* 94 * mkdir on nfs mount points has been/is busted in various 95 * during the Nevada development cycle. We've observed: 96 * - Build 111b (2009.06) returns EACCES. 97 * - Build ca. 70-80 returns ENOSYS. 98 */ 99 if ( rc == ENOSYS 100 || rc == EACCES) 101 { 102 struct stat st; 103 if (!stat(pszNativePath, &st)) 104 rc = EEXIST; 105 } 106 #endif 107 rc = RTErrConvertFromErrno(rc); 97 108 } 98 109 }
Note:
See TracChangeset
for help on using the changeset viewer.