summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-12-11 15:21:33 (GMT)
committerGuido van Rossum <guido@python.org>1997-12-11 15:21:33 (GMT)
commitd0ec7616ea8f50f8f5ecaa6768effab2df8ab107 (patch)
tree2f1b6f48fe623ea937049273a03ae88e632327c8 /PC
parent2dbabb280117889b9ecda8e48404c5ece1b25e2a (diff)
downloadcpython-d0ec7616ea8f50f8f5ecaa6768effab2df8ab107.zip
cpython-d0ec7616ea8f50f8f5ecaa6768effab2df8ab107.tar.gz
cpython-d0ec7616ea8f50f8f5ecaa6768effab2df8ab107.tar.bz2
Copy the change from ../getpathp.c here.
Diffstat (limited to 'PC')
-rw-r--r--PC/os2vacpp/getpathp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/os2vacpp/getpathp.c b/PC/os2vacpp/getpathp.c
index 69e38cb..d45c2f7 100644
--- a/PC/os2vacpp/getpathp.c
+++ b/PC/os2vacpp/getpathp.c
@@ -389,7 +389,7 @@ calculate_path()
}
else
bufsz = 0;
- bufsz += strlen(PYTHONPATH);
+ bufsz += strlen(PYTHONPATH) + 1;
if (envpath != NULL)
bufsz += strlen(envpath) + 1;
bufsz += strlen(argv0_path) + 1;