Displaying 3 results from an estimated 3 matches for "changestdintobinary".
2009 Jul 17
1
[LLVMdev] [PATCH 2/2] Make Program::ExecuteNoWait return a process ID.
...t redirect stderr
- if (RedirectIO(redirects[2], 2, ErrMsg)) { return; }
+ if (RedirectIO(redirects[2], 2, ErrMsg)) { return 0; }
}
}
@@ -344,6 +344,7 @@ Program::ExecuteNoWait(const Path& path,
fsync(1);
fsync(2);
+ return child;
}
bool Program::ChangeStdinToBinary(){
diff --git a/lib/System/Win32/Program.inc b/lib/System/Win32/Program.inc
index 71f686c..4577737 100644
--- a/lib/System/Win32/Program.inc
+++ b/lib/System/Win32/Program.inc
@@ -303,7 +303,7 @@ Program::ExecuteAndWait(const Path& path,
return status;
}
-void
+Program::ProcessID
Program...
2009 Jul 17
0
[LLVMdev] [PATCH 2/2] Make Program::ExecuteNoWait return a process ID.
...cts[2], 2, ErrMsg)) { return; }
> + if (RedirectIO(redirects[2], 2, ErrMsg)) { return 0; }
> }
> }
>
> @@ -344,6 +344,7 @@ Program::ExecuteNoWait(const Path& path,
> fsync(1);
> fsync(2);
>
> + return child;
> }
>
> bool Program::ChangeStdinToBinary(){
> diff --git a/lib/System/Win32/Program.inc b/lib/System/Win32/Program.inc
> index 71f686c..4577737 100644
> --- a/lib/System/Win32/Program.inc
> +++ b/lib/System/Win32/Program.inc
> @@ -303,7 +303,7 @@ Program::ExecuteAndWait(const Path& path,
> return status;
> }
&g...
2009 Jul 17
3
[LLVMdev] [PATCH 1/2] Trailing whitespace.
---
include/llvm/System/Program.h | 8 ++++----
lib/System/Unix/Program.inc | 30 +++++++++++++++---------------
2 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/include/llvm/System/Program.h b/include/llvm/System/Program.h
index 49de7cf..14f9e9e 100644
--- a/include/llvm/System/Program.h
+++ b/include/llvm/System/Program.h
@@ -97,12 +97,12 @@ namespace sys {
///