diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2006-09-01 20:35:17 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2006-09-01 20:35:17 +0000 |
commit | 7d5154490357a0cb12383e15a57640d9c20644a1 (patch) | |
tree | 9a87e8fa853a85653e08d0c51e11fb7688a11e96 /lib/System/Win32/Program.inc | |
parent | b5aaee00276ec5d666a0202c51e5264ba7dc060e (diff) |
- Fixed broken Win32 build
- Removed warning about clobbered parameter in Bytecode/Reader
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30026 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Win32/Program.inc')
-rw-r--r-- | lib/System/Win32/Program.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/System/Win32/Program.inc b/lib/System/Win32/Program.inc index b45cad1bb4..e1ad155bb3 100644 --- a/lib/System/Win32/Program.inc +++ b/lib/System/Win32/Program.inc @@ -158,14 +158,14 @@ Program::ExecuteAndWait(const Path& path, MakeErrMsg(ErrMsg, "can't redirect stdin"); return -1; } - si.hStdOutput = RedirectIO(redirects[1], 1); + si.hStdOutput = RedirectIO(redirects[1], 1, ErrMsg); if (si.hStdOutput == INVALID_HANDLE_VALUE) { CloseHandle(si.hStdInput); MakeErrMsg(ErrMsg, "can't redirect stdout"); return -1; } if (redirects[1] && redirects[2] && *(redirects[1]) != *(redirects[2])) { - si.hStdError = RedirectIO(redirects[2], 2); + si.hStdError = RedirectIO(redirects[2], 2, ErrMsg); if (si.hStdError == INVALID_HANDLE_VALUE) { CloseHandle(si.hStdInput); CloseHandle(si.hStdOutput); |