mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 01:43:57 +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…
x
Reference in New Issue
Block a user