mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-30 18:28:39 +00:00
In ExecWait(), made the child process exit if it can't execve() the new
program. Added the use of const (which compiles and is hopefully correct). Added comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8585 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -41,5 +41,5 @@ int RunProgramWithTimeout(const std::string &ProgramPath, const char **Args,
|
||||
/// Execute a program with the given arguments and environment and
|
||||
/// wait for it to terminate.
|
||||
///
|
||||
int ExecWait (char ** argv, char ** envp);
|
||||
int ExecWait (const char * const argv[], const char * const envp[]);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user