]> granicus.if.org Git - python/commitdiff
Copy the change from ../getpathp.c here.
authorGuido van Rossum <guido@python.org>
Thu, 11 Dec 1997 15:21:33 +0000 (15:21 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 11 Dec 1997 15:21:33 +0000 (15:21 +0000)
PC/os2vacpp/getpathp.c

index 69e38cb814f0499652286ad20e9df873e0dbb5e7..d45c2f7a72cae7c000fbbb21d6d5cc7c47aad2f5 100644 (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;