Message77718
| 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:56 | typo.pl | set | recipients:
+ typo.pl |
| 2008年12月13日 07:56:56 | typo.pl | set | messageid: <1229155016.15.0.221157622828.issue4653@psf.upfronthosting.co.za> |
| 2008年12月13日 07:56:55 | typo.pl | link | issue4653 messages |
| 2008年12月13日 07:56:54 | typo.pl | create |
|