mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
- 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
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user