summaryrefslogtreecommitdiffstats
path: root/PC/errmap.h
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-09-01 19:38:37 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-09-01 19:38:37 (GMT)
commit5edbaf295e60e0152c3f240ebef6408fa74572c3 (patch)
tree591b5c7e0b8d3a941b73a46d1151a5026cf2887d /PC/errmap.h
parentc2d9a0226e785c6a77fc0de776f2eece92eebadb (diff)
parenta762285831d1591d5c621394f8f6be45688ba33d (diff)
downloadcpython-5edbaf295e60e0152c3f240ebef6408fa74572c3.zip
cpython-5edbaf295e60e0152c3f240ebef6408fa74572c3.tar.gz
cpython-5edbaf295e60e0152c3f240ebef6408fa74572c3.tar.bz2
Issue #12802: the Windows error ERROR_DIRECTORY (numbered 267) is now
mapped to POSIX errno ENOTDIR (previously EINVAL).
Diffstat (limited to 'PC/errmap.h')
-rw-r--r--PC/errmap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/PC/errmap.h b/PC/errmap.h
index d225aa4..8dde31c 100644
--- a/PC/errmap.h
+++ b/PC/errmap.h
@@ -72,6 +72,7 @@ int winerror_to_errno(int winerror)
case 202: return 8;
case 206: return 2;
case 215: return 11;
+ case 267: return 20;
case 1816: return 12;
default: return EINVAL;
}