From e10324c192bb47ef4f7b3e3c53af7480902282fe Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Tue, 6 Apr 2010 14:27:40 +0000 Subject: [PATCH] undo debugging code --- rts/posix/OSMem.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/rts/posix/OSMem.c b/rts/posix/OSMem.c index 608345b..f8e484f 100644 --- a/rts/posix/OSMem.c +++ b/rts/posix/OSMem.c @@ -131,9 +131,8 @@ my_mmap (void *addr, lnat size) (errno == EINVAL && sizeof(void*)==4 && size >= 0xc0000000)) { // If we request more than 3Gig, then we get EINVAL // instead of ENOMEM (at least on Linux). - barf("out of memory (requested %lu bytes)", size); -// abort(); -// stg_exit(EXIT_FAILURE); + errorBelch("out of memory (requested %lu bytes)", size); + stg_exit(EXIT_FAILURE); } else { barf("getMBlock: mmap: %s", strerror(errno)); } -- 1.7.10.4