Repository : ssh://[email protected]/ghc On branch : master Link : http://ghc.haskell.org/trac/ghc/changeset/d50e7aedcc25db1337063e70fa166fc05055892d/ghc
>--------------------------------------------------------------- commit d50e7aedcc25db1337063e70fa166fc05055892d Author: Austin Seipp <[email protected]> Date: Thu Aug 29 17:30:14 2013 -0500 Revert "Paranoid integer overflow check in my_mmap" This reverts commit 1ce65edbff90fc8103062a1f94258ecc0c682309. Signed-off-by: Austin Seipp <[email protected]> >--------------------------------------------------------------- d50e7aedcc25db1337063e70fa166fc05055892d rts/posix/OSMem.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/rts/posix/OSMem.c b/rts/posix/OSMem.c index cbc76f8..000ad63 100644 --- a/rts/posix/OSMem.c +++ b/rts/posix/OSMem.c @@ -79,9 +79,6 @@ my_mmap (void *addr, W_ size) { void *ret; - if (size > (W_)SIZE_MAX) - barf("my_mmap: impossibly large allocation of %" FMT_Word " bytes; W_ larger than size_t?", size); - #if defined(solaris2_HOST_OS) || defined(irix_HOST_OS) { int fd = open("/dev/zero",O_RDONLY); _______________________________________________ ghc-commits mailing list [email protected] http://www.haskell.org/mailman/listinfo/ghc-commits
