projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4ef8c9
)
Update a comment to reflect the current code.
author
Dan Gohman
<gohman@apple.com>
Wed, 5 Aug 2009 17:32:39 +0000
(17:32 +0000)
committer
Dan Gohman
<gohman@apple.com>
Wed, 5 Aug 2009 17:32:39 +0000
(17:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78215
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/System/Unix/Program.inc
patch
|
blob
|
history
diff --git
a/lib/System/Unix/Program.inc
b/lib/System/Unix/Program.inc
index a4a769c2b16047dc6298bd89116aca1fc3292269..14bc7b13770cf13a2d96a680a39224cb5d660038 100644
(file)
--- 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");