Commit 691d2ade authored by Guido van Rossum's avatar Guido van Rossum

Allocate one byte extra in some cases.

parent 5ac00ac1
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment