diff options
author | Guido van Rossum <guido@python.org> | 2000-02-17 15:19:15 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-02-17 15:19:15 (GMT) |
commit | 795e189d28f7afd9f4e864a998658e3302efb59e (patch) | |
tree | 17c75582dcf539202522db81df614961a9eea76e /Tools/idle | |
parent | 65a75b0d52e840fcb2ab19281570d7abdbf7ef08 (diff) | |
download | cpython-795e189d28f7afd9f4e864a998658e3302efb59e.zip cpython-795e189d28f7afd9f4e864a998658e3302efb59e.tar.gz cpython-795e189d28f7afd9f4e864a998658e3302efb59e.tar.bz2 |
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.
Diffstat (limited to 'Tools/idle')
0 files changed, 0 insertions, 0 deletions