[LLVMbugs] [Bug 9875] New: getVisualStudioDir() brokes system environment

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon May 9 07:07:38 PDT 2011


           Summary: getVisualStudioDir() brokes system environment
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rmorylev at gmail.com
                CC: llvmbugs at cs.uiuc.edu

getVisualStudioDir() in Frontend/InitHeaderSearch.cpp modifies the string
returned by getenv().
So, before getVisualStudioDir() call I have:
getenv("VS90COMNTOOLS") = "C:\Program Files\Microsoft Visual Studio
and after call I always have:
getenv("VS90COMNTOOLS") = "C:\Program Files\Microsoft Visual Studio 9.0"

Compiler: Visual C++ 2008

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list