• Neal Norwitz's avatar
    SF #1685563, MSVCCompiler creates redundant and long PATH strings · 8f35f44a
    Neal Norwitz yazdı
    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.
    
    Will backport.
    8f35f44a
msvccompiler.py 22.8 KB