Commit 7689154f authored by Steve Dower's avatar Steve Dower

Issue #24268: Fixes generation of init import name on Windows.

parent 6baa0f98
......@@ -202,7 +202,7 @@ dl_funcptr _PyImport_FindSharedFuncptrWindows(const char *prefix,
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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment