diff options
author | Guido van Rossum <guido@python.org> | 1997-12-11 02:32:43 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-12-11 02:32:43 (GMT) |
commit | 691d2adeefe8673ca5d91988e95e454460cbc497 (patch) | |
tree | ca7f537810f4996bf4aa68eabba9b085319ff99f | |
parent | 5ac00ac1403e4d0981c5042cc76cd09ae6de2570 (diff) | |
download | cpython-691d2adeefe8673ca5d91988e95e454460cbc497.zip cpython-691d2adeefe8673ca5d91988e95e454460cbc497.tar.gz cpython-691d2adeefe8673ca5d91988e95e454460cbc497.tar.bz2 |
Allocate one byte extra in some cases.
-rw-r--r-- | PC/getpathp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/getpathp.c b/PC/getpathp.c index d73cd73..e769a93 100644 --- a/PC/getpathp.c +++ b/PC/getpathp.c @@ -372,7 +372,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; |