projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0dd4f10
)
Return only the least significant 8 bits of the exit status from
author
Peter Collingbourne
<peter@pcc.me.uk>
Sun, 6 Nov 2011 16:45:46 +0000
(16:45 +0000)
committer
Peter Collingbourne
<peter@pcc.me.uk>
Sun, 6 Nov 2011 16:45:46 +0000
(16:45 +0000)
Process::Wait on Windows (mimicing POSIX behaviour).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143876
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/Windows/Program.inc
patch
|
blob
|
history
diff --git
a/lib/Support/Windows/Program.inc
b/lib/Support/Windows/Program.inc
index e486e6ec2381537e09f8f5e876ea3d61552d6623..7e38168456794750b796dcc92eceb4650bd73593 100644
(file)
--- a/
lib/Support/Windows/Program.inc
+++ b/
lib/Support/Windows/Program.inc
@@
-367,7
+367,7
@@
Program::Wait(const Path &path,
return -2;
}
return -2;
}
- return status;
+ return status
& 0377
;
}
bool
}
bool