[llvm-commits] [llvm] r117581 - /llvm/trunk/lib/System/Unix/Program.inc
Mikhail Glushenkov
foldr at codedgers.com
Thu Oct 28 12:32:53 PDT 2010
Author: foldr
Date: Thu Oct 28 14:32:53 2010
New Revision: 117581
URL: http://llvm.org/viewvc/llvm-project?rev=117581&view=rev
Log:
Trailing whitespace.
Modified:
llvm/trunk/lib/System/Unix/Program.inc
Modified: llvm/trunk/lib/System/Unix/Program.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/System/Unix/Program.inc?rev=117581&r1=117580&r2=117581&view=diff
==============================================================================
--- llvm/trunk/lib/System/Unix/Program.inc (original)
+++ llvm/trunk/lib/System/Unix/Program.inc Thu Oct 28 14:32:53 2010
@@ -196,7 +196,7 @@
*redirects[1] != *redirects[2]) {
// Just redirect stderr
if (RedirectIO_PS(redirects[2], 2, ErrMsg, FileActions)) return false;
- } else {
+ } else {
// If stdout and stderr should go to the same place, redirect stderr
// to the FD already open for stdout.
if (int Err = posix_spawn_file_actions_adddup2(&FileActions, 1, 2))
@@ -217,17 +217,17 @@
pid_t PID = 0;
int Err = posix_spawn(&PID, path.c_str(), &FileActions, /*attrp*/0,
const_cast<char **>(args), const_cast<char **>(envp));
-
+
posix_spawn_file_actions_destroy(&FileActions);
if (Err)
return !MakeErrMsg(ErrMsg, "posix_spawn failed", Err);
-
+
Data_ = reinterpret_cast<void*>(PID);
return true;
}
#endif
-
+
if (!path.canExecute()) {
if (ErrMsg)
*ErrMsg = path.str() + " is not executable";
More information about the llvm-commits
mailing list