diff -rupN --no-dereference Python-3.8.2/Modules/posixmodule.c Python-3.8.2-new/Modules/posixmodule.c
--- Python-3.8.2/Modules/posixmodule.c 2020-02-24 22:36:25.000000000 +0100
+++ Python-3.8.2-new/Modules/posixmodule.c 2020-03-02 13:05:20.951376987 +0100
@@ -4844,7 +4844,7 @@ os_utime_impl(PyObject *module, path_t *
/*[clinic end generated code: output=cfcac69d027b82cf input=2fbd62a2f228f8f4]*/
{
#ifdef MS_WINDOWS
- HANDLE hFile;
+ HANDLE hFile = 0;
FILETIME atime, mtime;
#else
int result;
diff -rupN --no-dereference Python-3.8.2/Modules/socketmodule.h Python-3.8.2-new/Modules/socketmodule.h
--- Python-3.8.2/Modules/socketmodule.h 2020-02-24 22:36:25.000000000 +0100
+++ Python-3.8.2-new/Modules/socketmodule.h 2020-03-02 13:05:20.952376941 +0100
@@ -29,8 +29,10 @@
*/
# ifdef SIO_GET_MULTICAST_FILTER
# include <mstcpip.h> /* for SIO_RCVALL */
+#ifndef __MINGW32__ /* resolve by configure */
# define HAVE_ADDRINFO
# define HAVE_SOCKADDR_STORAGE
+#endif
# define HAVE_GETADDRINFO
# define HAVE_GETNAMEINFO
# define ENABLE_IPV6
diff -rupN --no-dereference Python-3.8.2/Modules/_winapi.c Python-3.8.2-new/Modules/_winapi.c
--- Python-3.8.2/Modules/_winapi.c 2020-02-24 22:36:25.000000000 +0100
+++ Python-3.8.2-new/Modules/_winapi.c 2020-03-02 13:05:20.952376941 +0100
@@ -949,7 +949,7 @@ getattributelist(PyObject *obj, const ch
DWORD err;
BOOL result;
PyObject *value;
- Py_ssize_t handle_list_size;
+ Py_ssize_t handle_list_size = 0;
DWORD attribute_count = 0;
SIZE_T attribute_list_size = 0;
diff -rupN --no-dereference Python-3.8.2/PC/python_exe.rc Python-3.8.2-new/PC/python_exe.rc
--- Python-3.8.2/PC/python_exe.rc 2020-02-24 22:36:25.000000000 +0100
+++ Python-3.8.2-new/PC/python_exe.rc 2020-03-02 13:05:20.952376941 +0100
@@ -7,7 +7,7 @@
#include <winuser.h>
1 RT_MANIFEST "python.manifest"
-1 ICON DISCARDABLE "icons\python.ico"
+1 ICON DISCARDABLE "icons/python.ico"
/////////////////////////////////////////////////////////////////////////////
diff -rupN --no-dereference Python-3.8.2/PC/pythonw_exe.rc Python-3.8.2-new/PC/pythonw_exe.rc
--- Python-3.8.2/PC/pythonw_exe.rc 2020-02-24 22:36:25.000000000 +0100
+++ Python-3.8.2-new/PC/pythonw_exe.rc 2020-03-02 13:05:20.953376896 +0100
@@ -7,7 +7,7 @@
#include <winuser.h>
1 RT_MANIFEST "python.manifest"
-1 ICON DISCARDABLE "icons\pythonw.ico"
+1 ICON DISCARDABLE "icons/pythonw.ico"
/////////////////////////////////////////////////////////////////////////////
diff -rupN --no-dereference Python-3.8.2/PC/winreg.c Python-3.8.2-new/PC/winreg.c
--- Python-3.8.2/PC/winreg.c 2020-02-24 22:36:25.000000000 +0100
+++ Python-3.8.2-new/PC/winreg.c 2020-03-02 13:05:20.953376896 +0100
@@ -784,6 +784,7 @@ Reg2Py(BYTE *retDataBuf, DWORD retDataSi
case REG_BINARY:
/* ALSO handle ALL unknown data types here. Even if we can't
support it natively, we should handle the bits. */
+ /* fallthrough */
default:
if (retDataSize == 0) {
Py_INCREF(Py_None);
diff -rupN --no-dereference Python-3.8.2/Python/thread_nt.h Python-3.8.2-new/Python/thread_nt.h
--- Python-3.8.2/Python/thread_nt.h 2020-02-24 22:36:25.000000000 +0100
+++ Python-3.8.2-new/Python/thread_nt.h 2020-03-02 13:05:20.953376896 +0100
@@ -342,8 +342,9 @@ PyThread_release_lock(PyThread_type_lock
{
dprintf(("%lu: PyThread_release_lock(%p) called\n", PyThread_get_thread_ident(),aLock));
- if (!(aLock && LeaveNonRecursiveMutex((PNRMUTEX) aLock)))
+ if (!(aLock && LeaveNonRecursiveMutex((PNRMUTEX) aLock))) {
dprintf(("%lu: Could not PyThread_release_lock(%p) error: %ld\n", PyThread_get_thread_ident(), aLock, GetLastError()));
+ }
}
/* minimum/maximum thread stack sizes supported */