Kaydet (Commit) d0ec7616 authored tarafından Guido van Rossum's avatar Guido van Rossum

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

üst 2dbabb28
...@@ -389,7 +389,7 @@ calculate_path() ...@@ -389,7 +389,7 @@ calculate_path()
} }
else else
bufsz = 0; bufsz = 0;
bufsz += strlen(PYTHONPATH); bufsz += strlen(PYTHONPATH) + 1;
if (envpath != NULL) if (envpath != NULL)
bufsz += strlen(envpath) + 1; bufsz += strlen(envpath) + 1;
bufsz += strlen(argv0_path) + 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