homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author typo.pl
Recipients typo.pl
Date 2008年12月13日.07:56:52
SpamBayes Score 2.1284465e-07
Marked as misclassified No
Message-id <1229155016.15.0.221157622828.issue4653@psf.upfronthosting.co.za>
In-reply-to
Content
I ran my typo.pl perl script that locates possible C/C++ typos.
I found four that looked valid.
Two of the typos were in the Python directory {pythonrun.c, 
dynload_win.c}, two were in PC/bdist_wininst {install.c, extract.c}.
Python/dynload_win.c:
Win32 API FormatMessageW() expects the 6th parameter to be the count of 
characters, NOT the count of bytes.
Python/pythonrun.c:
The source code contains "if (ferr != NULL || ferr != Py_None)". This 
does not work as expected - if ferr == NULL, then the second part of 
the if expression will succeed. Look at the code handling fout about 8 
lines up to see the correct code.
PC/bdist_wininst/extract.c:
Win32 API CreateFileMapping returns NULL on error, not 
INVALID_HANDLE_VALUE.
PC/bdist_wininst/install.c:
Win32 API CreateFileMapping returns NULL on error, not 
INVALID_HANDLE_VALUE.
History
Date User Action Args
2008年12月13日 07:56:56typo.plsetrecipients: + typo.pl
2008年12月13日 07:56:56typo.plsetmessageid: <1229155016.15.0.221157622828.issue4653@psf.upfronthosting.co.za>
2008年12月13日 07:56:55typo.pllinkissue4653 messages
2008年12月13日 07:56:54typo.plcreate

AltStyle によって変換されたページ (->オリジナル) /