summaryrefslogtreecommitdiff
path: root/PC/errmap.h
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-09-01 21:37:43 +0200
committerAntoine Pitrou <solipsis@pitrou.net>2011-09-01 21:37:43 +0200
commita762285831d1591d5c621394f8f6be45688ba33d (patch)
tree5e24a13489617c5f68dede866921bcc92b46e4d1 /PC/errmap.h
parent222b20844f28f37dbe5431eb293ef2b35df71ae7 (diff)
downloadcpython-git-a762285831d1591d5c621394f8f6be45688ba33d.tar.gz
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 d225aa4311..8dde31c81c 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;
}