diff options
Diffstat (limited to 'llvm/lib/System/Unix/Program.inc')
-rw-r--r-- | llvm/lib/System/Unix/Program.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/System/Unix/Program.inc b/llvm/lib/System/Unix/Program.inc index 484ce0f8c89..94091e2ca33 100644 --- a/llvm/lib/System/Unix/Program.inc +++ b/llvm/lib/System/Unix/Program.inc @@ -44,6 +44,8 @@ Program::FindProgramByName(const std::string& progName) { Path temp; if (!temp.setFile(progName)) // invalid name return Path(); + // FIXME: have to check for absolute filename - we cannot assume anything + // about "." being in $PATH if (temp.executable()) // already executable as is return temp; |