Differences From Artifact [8b4c5a3c92]:
- File win/tclWinError.c — part of check-in [e074b44d9e] at 2017-11-17 15:29:07 on branch core-8-6-branch — Fix [fab92486a1b05ba6f7cfe8677da95b9efb3beff0|fab92486a1]: Windows error 14 "Out of memory" mapping to Posix EFAULT "Bad address in system call argument" feels wrong (user: jan.nijtmans size: 11759) [more...]
To Artifact [b65f893b10]:
- File win/tclWinError.c — part of check-in [8eb140e09f] at 2017-12-15 12:55:59 on branch win-console-panic — merge core-8-branch. Fully functioning now, including with the new vc-reform implementation. (user: jan.nijtmans size: 11832) [more...]
| ︙ | |||
402 403 404 405 406 407 408 409 410 411 412 413 414 415 | 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 | + + + |
*/
if (msgString[TCL_MAX_WARN_LEN-1] != L'\0') {
memcpy(msgString + (TCL_MAX_WARN_LEN - 5), L" ...", 5 * sizeof(WCHAR));
}
OutputDebugStringW(msgString);
} else {
if (!isatty(fileno(stderr))) {
fprintf(stderr, "\xef\xbb\xbf");
}
vfprintf(stderr, format, argList);
fprintf(stderr, "\n");
fflush(stderr);
}
# if defined(__GNUC__)
__builtin_trap();
# else
|
| ︙ |