[project @ 2001-10-01 10:52:36 by simonmar]
authorsimonmar <unknown>
Mon, 1 Oct 2001 10:52:36 +0000 (10:52 +0000)
committersimonmar <unknown>
Mon, 1 Oct 2001 10:52:36 +0000 (10:52 +0000)
commit3a7e4d98248a28b2b7418e136759089f887bd195
treef7a8a5255d3e8dea25fff64406f2f4a4de483635
parent5d89d8eb1712aba2226af68d10b04354cd939cc5
[project @ 2001-10-01 10:52:36 by simonmar]
Fix a bug in the heap size calculation, where a negative result wasn't
noticed because we're working with unsigned types.  We now explicitly
test that the heap has enough room for the minimum allocation area
size, otherwise a heap overflow is reported.
ghc/rts/GC.c