[llvm-commits] CVS: llvm/include/Support/SystemUtils.h

John Criswell criswell at cs.uiuc.edu
Wed Sep 17 14:03:01 PDT 2003


Changes in directory llvm/include/Support:

SystemUtils.h updated: 1.4 -> 1.5

---
Log message:

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.



---
Diffs of the changes:

Index: llvm/include/Support/SystemUtils.h
diff -u llvm/include/Support/SystemUtils.h:1.4 llvm/include/Support/SystemUtils.h:1.5
--- llvm/include/Support/SystemUtils.h:1.4	Wed Sep 17 10:14:25 2003
+++ llvm/include/Support/SystemUtils.h	Wed Sep 17 14:02:49 2003
@@ -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





More information about the llvm-commits mailing list