don't get confused when expanding over a hole

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1176 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2004-11-17 05:24:20 +00:00
parent 5f5589e8de
commit 481d9d38fb
3 changed files with 6 additions and 2 deletions

View File

@@ -177,7 +177,6 @@ yapsbrk(long size)
oldHeapTop = Yap_hole_end;
newHeapTop = oldHeapTop+size;;
Yap_hole_start = Yap_hole_end = NULL;
printf("sbrk past hole %p--%p\n", newHeapTop,H0);
}
if (newHeapTop > HeapLim - MinHeapGap) {
if (HeapTop + size < HeapLim) {