]> granicus.if.org Git - php/commit
Don't report mmap failure if it is expected
authorDavid Carlier <devnexen@gmail.com>
Tue, 21 Aug 2018 22:51:54 +0000 (23:51 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Wed, 22 Aug 2018 09:19:52 +0000 (11:19 +0200)
commit446b5b15d324dacd30f58313563a9d625fb54ac8
tree17270a3f4a4df97b0266360cf2cf162cfe1200c0
parent8d95f561e45b5aee5398c772284bdeff03fbb475
Don't report mmap failure if it is expected

When using mmap with MAP_FIXED_NOREPLACE or MAP_FIXED|MAP_EXCL
an mmap failure is not an error condition, so do not print an
error message in this case.
Zend/zend_alloc.c