Message77718
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. |
|
| 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 | |
|