diff options
author | Ben Gamari <ben@smart-cactus.org> | 2020-07-23 11:14:53 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-07-26 13:23:59 -0400 |
commit | da7269a4472856ba701d956a247599f721e9915e (patch) | |
tree | 622b6a5d77e8450f338b2462f41cba26a239e0ae /CODEOWNERS | |
parent | a7c4439a407ad85b76aab9301fda61e7c10183ff (diff) | |
download | haskell-da7269a4472856ba701d956a247599f721e9915e.tar.gz |
rts/win32: Exit with EXIT_HEAPOVERFLOW if memory commit fails
Since switching to the two-step allocator, the `outofmem` test fails via
`osCommitMemory` failing to commit. However, this was previously exiting
with `EXIT_FAILURE`, rather than `EXIT_HEAPOVERFLOW`. I think the latter
is a more reasonable exit code for this case and matches the behavior on
POSIX platforms.
Diffstat (limited to 'CODEOWNERS')
0 files changed, 0 insertions, 0 deletions