summaryrefslogtreecommitdiffstats
path: root/win/tclWinError.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-11-17 15:29:07 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-11-17 15:29:07 (GMT)
commitb44ffcf5e24b13f5fd302449456cacaf4b9cb92e (patch)
tree0d1251d15c3184ea6561424348ed905ca72ef313 /win/tclWinError.c
parent24d7fa64015b310278717d5f2462d84b7f7cd124 (diff)
parentff436137df3cce5d4e96e59c54a3f1211a3e8a33 (diff)
downloadtcl-b44ffcf5e24b13f5fd302449456cacaf4b9cb92e.zip
tcl-b44ffcf5e24b13f5fd302449456cacaf4b9cb92e.tar.gz
tcl-b44ffcf5e24b13f5fd302449456cacaf4b9cb92e.tar.bz2
Fix [fab92486a1b05ba6f7cfe8677da95b9efb3beff0|fab92486a1]: Windows error 14 "Out of memory" mapping to Posix EFAULT "Bad address in system call argument" feels wrong
Diffstat (limited to 'win/tclWinError.c')
-rw-r--r--win/tclWinError.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinError.c b/win/tclWinError.c
index 30079b9..fea4b0f 100644
--- a/win/tclWinError.c
+++ b/win/tclWinError.c
@@ -30,7 +30,7 @@ static const unsigned char errorTable[] = {
ENOEXEC, /* ERROR_BAD_FORMAT 11 */
EACCES, /* ERROR_INVALID_ACCESS 12 */
EINVAL, /* ERROR_INVALID_DATA 13 */
- EFAULT, /* ERROR_OUT_OF_MEMORY 14 */
+ ENOMEM, /* ERROR_OUT_OF_MEMORY 14 */
ENOENT, /* ERROR_INVALID_DRIVE 15 */
EACCES, /* ERROR_CURRENT_DIRECTORY 16 */
EXDEV, /* ERROR_NOT_SAME_DEVICE 17 */