diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2004-06-02 00:09:46 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2004-06-02 00:09:46 +0000 |
commit | d6af686d288ed0ca539c40e1f121691ab2d5ec1c (patch) | |
tree | d24b8e7c1622ecd1cc01496568d10e71bf034110 /lib/Support | |
parent | f7e92b1dcf6fdcc62d5c9768c3f1d54ab4a6e9a7 (diff) | |
download | external_llvm-d6af686d288ed0ca539c40e1f121691ab2d5ec1c.zip external_llvm-d6af686d288ed0ca539c40e1f121691ab2d5ec1c.tar.gz external_llvm-d6af686d288ed0ca539c40e1f121691ab2d5ec1c.tar.bz2 |
Fix spelling, trim empty space, tighten up function header comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13940 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
-rw-r--r-- | lib/Support/SystemUtils.cpp | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/lib/Support/SystemUtils.cpp b/lib/Support/SystemUtils.cpp index c0fb772..076e3a7 100644 --- a/lib/Support/SystemUtils.cpp +++ b/lib/Support/SystemUtils.cpp @@ -191,13 +191,8 @@ int llvm::RunProgramWithTimeout(const std::string &ProgramPath, } -// -// 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::RunProgramWithTimeout(const std::string &ProgramPath, 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 @@ int llvm::ExecWait(const char * const old_argv[], 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; |