mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Issue #24268: Fixes generation of init import name on Windows.
This commit is contained in:
parent
6baa0f9805
commit
7689154f58
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue