summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2021-12-06 18:13:12 (GMT)
committerGitHub <noreply@github.com>2021-12-06 18:13:12 (GMT)
commitf16f93e5279f957ca25dd8b91233a44833167a8a (patch)
tree7481cf536b02e314e4f6dfeb62902c1389c0cf3f /Modules
parentaf1db4eb555e02d2bff3476f99f7a653764203b0 (diff)
downloadcpython-f16f93e5279f957ca25dd8b91233a44833167a8a.zip
cpython-f16f93e5279f957ca25dd8b91233a44833167a8a.tar.gz
cpython-f16f93e5279f957ca25dd8b91233a44833167a8a.tar.bz2
bpo-45582: framework build: modPath must not be const (GH-29944)
Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
Diffstat (limited to 'Modules')
-rw-r--r--Modules/getpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/getpath.c b/Modules/getpath.c
index 2e46226..9ce7260 100644
--- a/Modules/getpath.c
+++ b/Modules/getpath.c
@@ -756,7 +756,7 @@ library_to_dict(PyObject *dict, const char *key)
}
#elif defined(WITH_NEXT_FRAMEWORK) && !defined(PY_BOOTSTRAP_PYTHON)
// _bootstrap_python does not use framework and crashes
- static const char modPath[MAXPATHLEN + 1];
+ static char modPath[MAXPATHLEN + 1];
static int modPathInitialized = -1;
if (modPathInitialized < 0) {
NSModule pythonModule;