Guido van Rossum 795e189d28 Patch by Mark Hammond:
* Changes to a recent patch by Chris Tismer to errors.c.  Chris' patch
always used FormatMessage() to get the error message passing the error code
from errno - but errno and FormatMessage use a different numbering scheme.
The main reason the patch looked OK was that ENOFILE==ERROR_FILE_NOT_FOUND -
but that is about the only shared error code :-).  The MS CRT docs tell you
to use _sys_errlist()/_sys_nerr.  My patch does also this, and adds a very
similar function specifically for win32 error codes.
2000-02-17 15:19:15 +00:00
..
1999-12-22 14:09:35 +00:00
1999-12-22 14:09:35 +00:00
2000-02-14 17:58:25 +00:00
1999-12-22 14:09:35 +00:00
1999-12-22 14:09:35 +00:00
2000-02-17 15:19:15 +00:00
1998-04-09 21:39:57 +00:00
1999-12-22 14:09:35 +00:00
1999-12-22 14:09:35 +00:00
1999-06-18 14:22:24 +00:00
1999-03-15 20:27:53 +00:00