Mercurial > octave
diff liboctave/oct-syscalls.cc @ 10314:07ebe522dac2
untabify liboctave C++ sources
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 11 Feb 2010 12:23:32 -0500 |
parents | 65b41bc71f09 |
children | 479cc8a0a846 |
line wrap: on
line diff
--- a/liboctave/oct-syscalls.cc Thu Feb 11 12:16:43 2010 -0500 +++ b/liboctave/oct-syscalls.cc Thu Feb 11 12:23:32 2010 -0500 @@ -86,7 +86,7 @@ int octave_syscalls::execvp (const std::string& file, const string_vector& args, - std::string& msg) + std::string& msg) { msg = std::string (); @@ -273,7 +273,7 @@ pid_t octave_syscalls::waitpid (pid_t pid, int *status, int options, - std::string& msg) + std::string& msg) { pid_t retval = -1; msg = std::string (); @@ -358,9 +358,9 @@ msg = "popen2: process creation failed -- " + msg; else if (pid == 0) { - std::string child_msg; + std::string child_msg; - interactive = false; + interactive = false; // Child process ::close (child_stdin[1]); @@ -380,10 +380,10 @@ } else child_msg = "popen2 (child): file handle duplication failed -- " + child_msg; - - (*current_liboctave_error_handler)(child_msg.c_str()); - - exit(0); + + (*current_liboctave_error_handler)(child_msg.c_str()); + + exit(0); } else {