Changeset 85 for trunk/orca
- Timestamp:
- 03/09/06 21:09:03 (3 years ago)
- Files:
-
- 1 modified
-
trunk/orca/win32/os.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/orca/win32/os.c
r71 r85 136 136 orTermCStr(str); 137 137 138 #if 0138 #if 1 139 139 if( ! CreateDirectory( str->charArray, NULL ) ) 140 140 { 141 DWORD err; 142 err = GetLastError(); 143 if( (err != ERROR_FILE_EXISTS) || (orIsDir(str->charArray) != 1) ) 144 { 145 orErrorT( OR_ERROR_ACCESS, "CreateDirectory error (%d)", err ); 146 } 141 147 } 142 148 #else … … 146 152 if( (errno != EEXIST) || (orIsDir(str->charArray) != 1) ) 147 153 { 148 orErrorT( OR_ ACCESS_ERR, strerror/*_r*/(errno) );154 orErrorT( OR_ERROR_ACCESS, strerror/*_r*/(errno) ); 149 155 } 150 156 }
