[llvm-commits] CVS: llvm/lib/Support/SystemUtils.cpp
Misha Brukman
brukman at cs.uiuc.edu
Tue Jun 1 19:14:01 PDT 2004
Changes in directory llvm/lib/Support:
SystemUtils.cpp updated: 1.27 -> 1.28
---
Log message:
Fix spelling, trim empty space, tighten up function header comment.
---
Diffs of the changes: (+3 -10)
Index: llvm/lib/Support/SystemUtils.cpp
diff -u llvm/lib/Support/SystemUtils.cpp:1.27 llvm/lib/Support/SystemUtils.cpp:1.28
--- llvm/lib/Support/SystemUtils.cpp:1.27 Thu May 27 20:20:58 2004
+++ llvm/lib/Support/SystemUtils.cpp Tue Jun 1 19:09:46 2004
@@ -191,13 +191,8 @@
}
-//
-// Function: ExecWait ()
-//
-// Description:
-// This function executes a program with the specified arguments and
-// environment. It then waits for the progarm to termiante and then returns
-// to the caller.
+// ExecWait - executes a program with the specified arguments and environment.
+// It then waits for the progarm to termiante and then returns to the caller.
//
// Inputs:
// argv - The arguments to the program as an array of C strings. The first
@@ -230,10 +225,8 @@
int llvm::ExecWait(const char * const old_argv[],
const char * const old_envp[]) {
#ifdef HAVE_SYS_WAIT_H
- //
// Create local versions of the parameters that can be passed into execve()
// without creating const problems.
- //
char ** const argv = (char ** const) old_argv;
char ** const envp = (char ** const) old_envp;
@@ -256,7 +249,7 @@
break;
}
- // Parent process: Wait for the child process to termiante.
+ // Parent process: Wait for the child process to terminate.
int status;
if ((wait (&status)) == -1)
return 1;
More information about the llvm-commits
mailing list