Displaying 3 results from an estimated 3 matches for "hstdinput".
2009 Jul 17
1
[LLVMdev] [PATCH 2/2] Make Program::ExecuteNoWait return a process ID.
...th& path,
if (!path.canExecute()) {
if (ErrMsg)
*ErrMsg = "program not executable";
- return;
+ return 0;
}
// Windows wants a command line, not an array of args, to pass to the new
@@ -388,13 +388,13 @@ Program::ExecuteNoWait(const Path& path,
si.hStdInput = RedirectIO(redirects[0], 0, ErrMsg);
if (si.hStdInput == INVALID_HANDLE_VALUE) {
MakeErrMsg(ErrMsg, "can't redirect stdin");
- return;
+ return 0;
}
si.hStdOutput = RedirectIO(redirects[1], 1, ErrMsg);
if (si.hStdOutput == INVALID_HANDLE_VALUE) {...
2009 Jul 17
0
[LLVMdev] [PATCH 2/2] Make Program::ExecuteNoWait return a process ID.
...)) {
> if (ErrMsg)
> *ErrMsg = "program not executable";
> - return;
> + return 0;
> }
>
> // Windows wants a command line, not an array of args, to pass to the new
> @@ -388,13 +388,13 @@ Program::ExecuteNoWait(const Path& path,
> si.hStdInput = RedirectIO(redirects[0], 0, ErrMsg);
> if (si.hStdInput == INVALID_HANDLE_VALUE) {
> MakeErrMsg(ErrMsg, "can't redirect stdin");
> - return;
> + return 0;
> }
> si.hStdOutput = RedirectIO(redirects[1], 1, ErrMsg);
> if (si.hStdOut...
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 {
///