mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 02:29:18 +00:00
Update a comment to reflect the current code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78215 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f4ef8c9045
commit
88abb89183
@ -53,7 +53,8 @@ Program::FindProgramByName(const std::string& progName) {
|
||||
if (progName.find('/') != std::string::npos)
|
||||
return temp;
|
||||
|
||||
// At this point, the file name is valid and its not executable
|
||||
// At this point, the file name does not contain slashes. Search for it
|
||||
// through the directories specified in the PATH environment variable.
|
||||
|
||||
// Get the path. If its empty, we can't do anything to find it.
|
||||
const char *PathStr = getenv("PATH");
|
||||
|
Loading…
Reference in New Issue
Block a user