diff options
| author | Steve Dower <steve.dower@microsoft.com> | 2015-05-23 08:59:25 -0700 |
|---|---|---|
| committer | Steve Dower <steve.dower@microsoft.com> | 2015-05-23 08:59:25 -0700 |
| commit | 70ca50a22754c2dcfe69ae9b274d30feed815c05 (patch) | |
| tree | 5b6163ddbd2de2f008ea428bb0b1a00a81a4bfb1 /Python/dynload_win.c | |
| parent | ffb38076ab94f9f3451a0eb0dbe6e2330e3d19d7 (diff) | |
| download | cpython-70ca50a22754c2dcfe69ae9b274d30feed815c05.tar.gz | |
Issue #24268: Fixes generation of init import name on Windows.
Diffstat (limited to 'Python/dynload_win.c')
| -rw-r--r-- | Python/dynload_win.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/dynload_win.c b/Python/dynload_win.c index 96f1a09f8a..f2c796e94d 100644 --- a/Python/dynload_win.c +++ b/Python/dynload_win.c @@ -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; |
