- Timestamp:
- Jan 11, 2017 9:15:06 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bldprogs/filesplitter.cpp
r62537 r65237 96 96 FILE *pFile= fopen(pcszPath, "w"); 97 97 if (!pFile) 98 return printErr("Failed to open \"%s\" for writing the file list"); 98 #ifdef _MSC_VER 99 return printErr("Failed to open \"%s\" for writing the file list: %s (win32: %d)\n", 100 pcszPath, strerror(errno), _doserrno); 101 #else 102 return printErr("Failed to open \"%s\" for writing the file list: %s\n", pcszPath, strerror(errno)); 103 #endif 99 104 100 105 if (fprintf(pFile, "%s := \\\n", pcszVariableName) <= 0) … … 241 246 FILE *pFile = fopen(pcszFilename, "w"); 242 247 if (!pFile) 248 #ifdef _MSC_VER 249 return printErr("Failed to open \"%s\" for writing: %s (win32: %d)\n", pcszFilename, strerror(errno), _doserrno); 250 #else 243 251 return printErr("Failed to open \"%s\" for writing: %s\n", pcszFilename, strerror(errno)); 252 #endif 244 253 245 254 errno = 0;
Note:
See TracChangeset
for help on using the changeset viewer.