aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Pitrou <pitrou@free.fr>2018-07-16 19:03:03 +0200
committerGitHub <noreply@github.com>2018-07-16 19:03:03 +0200
commit961d54c5c1916c09883ebcf7191babc969e5a5cf (patch)
tree26c7252e3864548cd24c1e6df3a82c2de9f858dc /Modules/getpath.c
parentbpo-33911: Fixed deprecation warning in xmlrpc.server (GH-7847) (diff)
downloadcpython-961d54c5c1916c09883ebcf7191babc969e5a5cf.tar.gz
cpython-961d54c5c1916c09883ebcf7191babc969e5a5cf.tar.bz2
cpython-961d54c5c1916c09883ebcf7191babc969e5a5cf.zip
bpo-32430: Rename Modules/Setup.dist to Modules/Setup (GH-8229)
bpo-32430: Rename Modules/Setup.dist to Modules/Setup Remove the necessity to copy the former manually to the latter when updating the local source tree.
Diffstat (limited to 'Modules/getpath.c')
-rw-r--r--Modules/getpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/getpath.c b/Modules/getpath.c
index e6a3e8e78cd..755298eb4b7 100644
--- a/Modules/getpath.c
+++ b/Modules/getpath.c
@@ -322,7 +322,7 @@ search_for_prefix(const _PyCoreConfig *core_config,
/* Check to see if argv[0] is in the build directory */
wcsncpy(prefix, calculate->argv0_path, MAXPATHLEN);
prefix[MAXPATHLEN] = L'\0';
- joinpath(prefix, L"Modules/Setup");
+ joinpath(prefix, L"Modules/Setup.local");
if (isfile(prefix)) {
/* Check VPATH to see if argv0_path is in the build directory. */
vpath = Py_DecodeLocale(VPATH, NULL);