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.
llvm-svn: 8585
diff --git a/llvm/include/Support/SystemUtils.h b/llvm/include/Support/SystemUtils.h
index 7a4c627..b4d2c69 100644
--- a/llvm/include/Support/SystemUtils.h
+++ b/llvm/include/Support/SystemUtils.h
@@ -41,5 +41,5 @@
 ///  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