Issue #12802: the Windows error ERROR_DIRECTORY (numbered 267) is now

mapped to POSIX errno ENOTDIR (previously EINVAL).
This commit is contained in:
Antoine Pitrou 2011-09-01 21:37:43 +02:00
parent 222b20844f
commit a762285831
4 changed files with 27 additions and 6 deletions

View file

@ -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;
}