OSDN Git Service

fix PTRDIFF_MAX check in the 32-bit mmap wrapper
authorDaniel Micay <danielmicay@gmail.com>
Tue, 3 Nov 2015 10:30:29 +0000 (05:30 -0500)
committerDaniel Micay <danielmicay@gmail.com>
Tue, 3 Nov 2015 10:30:29 +0000 (05:30 -0500)
commit706186d266d45c161f9dad3ec1851c78017bc1de
tree6639e7bfff39c3dc48e4cee8caf7b1abb4407997
parente07558fb80da4e196e8b7e371041c1e75c56b29b
fix PTRDIFF_MAX check in the 32-bit mmap wrapper

It wasn't making use of the page-rounded size.

Change-Id: I911345fcfd6419a4dbc18a4622b42e1b76729abb
libc/bionic/mmap.cpp