Copy the change from ../getpathp.c here.

This commit is contained in:
Guido van Rossum 1997-12-11 15:21:33 +00:00
parent 2dbabb2801
commit d0ec7616ea

View file

@ -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;