[Python-checkins] cpython: Issue #24268: Fixes generation of init import name on Windows.
steve.dower
python-checkins at python.org
Sat May 23 18:00:08 CEST 2015
https://hg.python.org/cpython/rev/a811f5561c99
changeset: 96238:a811f5561c99
user: Steve Dower <steve.dower at microsoft.com>
date: Sat May 23 08:59:25 2015 -0700
summary:
Issue #24268: Fixes generation of init import name on Windows.
files:
Python/dynload_win.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Python/dynload_win.c b/Python/dynload_win.c
--- a/Python/dynload_win.c
+++ b/Python/dynload_win.c
@@ -202,7 +202,7 @@
if (wpathname == NULL)
return NULL;
- PyOS_snprintf(funcname, sizeof(funcname), "%20_%.200s", prefix, shortname);
+ PyOS_snprintf(funcname, sizeof(funcname), "%.20s_%.200s", prefix, shortname);
{
HINSTANCE hDLL = NULL;
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list