Skip to content

Commit d81182b

Browse files
authored
bpo-46217: Revert use of Windows constant that is newer than what we support (pythonGH-30473)
1 parent c9dc1f4 commit d81182b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Removed parameter that is unsupported on Windows 8.1 and early Windows 10
2+
and may have caused build or runtime failures.

Python/fileutils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2129,7 +2129,7 @@ join_relfile(wchar_t *buffer, size_t bufsize,
21292129
{
21302130
#ifdef MS_WINDOWS
21312131
if (FAILED(PathCchCombineEx(buffer, bufsize, dirname, relfile,
2132-
PATHCCH_ALLOW_LONG_PATHS | PATHCCH_FORCE_ENABLE_LONG_NAME_PROCESS))) {
2132+
PATHCCH_ALLOW_LONG_PATHS))) {
21332133
return -1;
21342134
}
21352135
#else

0 commit comments

Comments
 (0)