]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-46217: Revert use of Windows constant that is newer than what we support (GH...
authorSteve Dower <steve.dower@python.org>
Sat, 8 Jan 2022 00:06:53 +0000 (00:06 +0000)
committerGitHub <noreply@github.com>
Sat, 8 Jan 2022 00:06:53 +0000 (00:06 +0000)
Misc/NEWS.d/next/Windows/2022-01-07-22-55-11.bpo-46217.tgJEsB.rst [new file with mode: 0644]
Python/fileutils.c

diff --git a/Misc/NEWS.d/next/Windows/2022-01-07-22-55-11.bpo-46217.tgJEsB.rst b/Misc/NEWS.d/next/Windows/2022-01-07-22-55-11.bpo-46217.tgJEsB.rst
new file mode 100644 (file)
index 0000000..78b3cd0
--- /dev/null
@@ -0,0 +1,2 @@
+Removed parameter that is unsupported on Windows 8.1 and early Windows 10
+and may have caused build or runtime failures.
index d570be5577ae97e192a37fb0e36dada2570172cf..151c6feb2ebe1a22f637043c065f5e5485b25880 100644 (file)
@@ -2129,7 +2129,7 @@ join_relfile(wchar_t *buffer, size_t bufsize,
 {
 #ifdef MS_WINDOWS
     if (FAILED(PathCchCombineEx(buffer, bufsize, dirname, relfile, 
-        PATHCCH_ALLOW_LONG_PATHS | PATHCCH_FORCE_ENABLE_LONG_NAME_PROCESS))) {
+        PATHCCH_ALLOW_LONG_PATHS))) {
         return -1;
     }
 #else