diff options
author | Dan Gohman <gohman@apple.com> | 2009-08-05 17:32:39 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-08-05 17:32:39 +0000 |
commit | 7e0ccf039eb21c935410389f2432dc3547fc5480 (patch) | |
tree | 61704e53e8a8066cca55fb83e13d820300bf2106 /lib/System/Unix | |
parent | 279ef4cb805ce9d94bbeecff125c602589b0a2c1 (diff) | |
download | external_llvm-7e0ccf039eb21c935410389f2432dc3547fc5480.zip external_llvm-7e0ccf039eb21c935410389f2432dc3547fc5480.tar.gz external_llvm-7e0ccf039eb21c935410389f2432dc3547fc5480.tar.bz2 |
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
Diffstat (limited to 'lib/System/Unix')
-rw-r--r-- | lib/System/Unix/Program.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/System/Unix/Program.inc b/lib/System/Unix/Program.inc index a4a769c..14bc7b1 100644 --- a/lib/System/Unix/Program.inc +++ b/lib/System/Unix/Program.inc @@ -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"); |