"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Utilities/cmlibuv/src/win/error.c" between
cmake-3.13.4.tar.gz and cmake-3.14.0-rc1.tar.gz

About: CMake is a cross-platform build system designed to build, test and package software. Release candidate.

error.c  (cmake-3.13.4):error.c  (cmake-3.14.0-rc1)
skipping to change at line 48 skipping to change at line 48
FormatMessageA(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FormatMessageA(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM |
FORMAT_MESSAGE_IGNORE_INSERTS, NULL, errorno, FORMAT_MESSAGE_IGNORE_INSERTS, NULL, errorno,
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPSTR)&buf, 0, NULL); MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPSTR)&buf, 0, NULL);
if (buf) { if (buf) {
errmsg = buf; errmsg = buf;
} else { } else {
errmsg = "Unknown error"; errmsg = "Unknown error";
} }
/* FormatMessage messages include a newline character already, */ /* FormatMessage messages include a newline character already, so don't add
/* so don't add another. */ * another. */
if (syscall) { if (syscall) {
fprintf(stderr, "%s: (%d) %s", syscall, errorno, errmsg); fprintf(stderr, "%s: (%d) %s", syscall, errorno, errmsg);
} else { } else {
fprintf(stderr, "(%d) %s", errorno, errmsg); fprintf(stderr, "(%d) %s", errorno, errmsg);
} }
if (buf) { if (buf) {
LocalFree(buf); LocalFree(buf);
} }
 End of changes. 1 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)