[llvm-commits] [llvm] r78215 - /llvm/trunk/lib/System/Unix/Program.inc
Dan Gohman
gohman at apple.com
Wed Aug 5 10:33:09 PDT 2009
Author: djg
Date: Wed Aug 5 12:32:39 2009
New Revision: 78215
URL: http://llvm.org/viewvc/llvm-project?rev=78215&view=rev
Log:
Update a comment to reflect the current code.
Modified:
llvm/trunk/lib/System/Unix/Program.inc
Modified: llvm/trunk/lib/System/Unix/Program.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/System/Unix/Program.inc?rev=78215&r1=78214&r2=78215&view=diff
==============================================================================
--- llvm/trunk/lib/System/Unix/Program.inc (original)
+++ llvm/trunk/lib/System/Unix/Program.inc Wed Aug 5 12:32:39 2009
@@ -53,7 +53,8 @@
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");
More information about the llvm-commits
mailing list