From: Simon Marlow Date: Tue, 6 Apr 2010 14:27:40 +0000 (+0000) Subject: undo debugging code X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=e10324c192bb47ef4f7b3e3c53af7480902282fe undo debugging code --- 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)); }