mirror of
https://github.com/python/cpython.git
synced 2025-07-19 01:05:26 +00:00
Fixes issue4653 - Correctly specify the buffer size to FormatMessageW and
correctly check for errors on two CreateFileMapping calls.
This commit is contained in:
parent
93f756b274
commit
b803c6c4b8
3 changed files with 3 additions and 3 deletions
|
@ -235,7 +235,7 @@ dl_funcptr _PyImport_GetDynLoadWindows(const char *shortname,
|
|||
SUBLANG_DEFAULT),
|
||||
/* Default language */
|
||||
theInfo, /* the buffer */
|
||||
sizeof(theInfo), /* the buffer size */
|
||||
sizeof(theInfo) / sizeof(wchar_t), /* size in wchars */
|
||||
NULL); /* no additional format args. */
|
||||
|
||||
/* Problem: could not get the error message.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue