[Python-checkins] r86599 - python/branches/pep-0384/Python/dynload_win.c
martin.v.loewis
python-checkins at python.org
Sat Nov 20 20:10:13 CET 2010
Author: martin.v.loewis
Date: Sat Nov 20 20:10:13 2010
New Revision: 86599
Log:
Fix infinite loop.
Modified:
python/branches/pep-0384/Python/dynload_win.c
Modified: python/branches/pep-0384/Python/dynload_win.c
==============================================================================
--- python/branches/pep-0384/Python/dynload_win.c (original)
+++ python/branches/pep-0384/Python/dynload_win.c Sat Nov 20 20:10:13 2010
@@ -137,8 +137,10 @@
#ifndef _DEBUG
/* In a release version, don't claim that python3.dll is
a Python DLL. */
- if (strcmp(import_name, "python3.dll") == 0)
+ if (strcmp(import_name, "python3.dll") == 0) {
+ import_data += 20;
continue;
+ }
#endif
/* Ensure python prefix is followed only
More information about the Python-checkins
mailing list