diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2007-04-01 18:29:47 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2007-04-01 18:29:47 +0000 |
commit | 93e938440213c9e032b4c4e1af6bb20a1ce644a1 (patch) | |
tree | 1b9b04d614de81cd0cbb21ce2d965a7836cea3b2 /Python/pythonrun.c | |
parent | 530698235d8397346532a31dd50d5e39152d0c36 (diff) | |
download | cpython-git-93e938440213c9e032b4c4e1af6bb20a1ce644a1.tar.gz |
Backport 54644:
SF #1685563, MSVCCompiler creates redundant and long PATH strings
If MSVCCompiler.initialize() was called multiple times, the path
would get duplicated. On Windows, this is a problem because the
path is limited to 4k. There's no benefit in adding a path multiple
times, so prevent that from occuring. We also normalize the path
before checking for duplicates so things like /a and /a/ won't both
be stored.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions