If the file the user specifies can't be found in the current directory,
and the user didn't specify a particular directory, search for the file using the $PATH environment variable. llvm-svn: 113575
This commit is contained in:
@@ -61,6 +61,13 @@ SBFileSpec::Exists () const
|
||||
return false;
|
||||
}
|
||||
|
||||
bool
|
||||
SBFileSpec::ResolveExecutableLocation ()
|
||||
{
|
||||
if (m_opaque_ap.get())
|
||||
return m_opaque_ap->ResolveExecutableLocation ();
|
||||
return false;
|
||||
}
|
||||
|
||||
int
|
||||
SBFileSpec::ResolvePath (const char *src_path, char *dst_path, size_t dst_len)
|
||||
|
||||
Reference in New Issue
Block a user