diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-09-01 21:37:43 +0200 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-09-01 21:37:43 +0200 |
commit | cb88ee12bf12ffe752c0c314f181a231f5d07e9c (patch) | |
tree | 30ab3f4cf9c77d7921dd22ad9d02e29f8aca3637 /PC/errmap.h | |
parent | 7192d778d8a4f1d3a328d73012f9dd2cece2433d (diff) | |
download | cpython-cb88ee12bf12ffe752c0c314f181a231f5d07e9c.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.h | 1 |
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; } |