mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-28 22:43:29 +00:00
Return only the least significant 8 bits of the exit status from
Process::Wait on Windows (mimicing POSIX behaviour). llvm-svn: 143876
This commit is contained in:
parent
3c563109b7
commit
6ec231f82f
@ -367,7 +367,7 @@ Program::Wait(const Path &path,
|
||||
return -2;
|
||||
}
|
||||
|
||||
return status;
|
||||
return status & 0377;
|
||||
}
|
||||
|
||||
bool
|
||||
|
Loading…
Reference in New Issue
Block a user