version 1.1.1.2, 2012/05/29 12:34:36
|
version 1.1.1.3, 2013/07/22 01:32:16
|
Line 2
|
Line 2
|
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| Zend Engine | |
| Zend Engine | |
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| Copyright (c) 1998-2012 Zend Technologies Ltd. (http://www.zend.com) | | | Copyright (c) 1998-2013 Zend Technologies Ltd. (http://www.zend.com) | |
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| This source file is subject to version 2.00 of the Zend license, | |
| This source file is subject to version 2.00 of the Zend license, | |
| that is bundled with this package in the file LICENSE, and is | |
| that is bundled with this package in the file LICENSE, and is | |
Line 79 static size_t zend_stream_stdio_fsizer(void *handle TS
|
Line 79 static size_t zend_stream_stdio_fsizer(void *handle TS
|
static void zend_stream_unmap(zend_stream *stream TSRMLS_DC) { /* {{{ */ |
static void zend_stream_unmap(zend_stream *stream TSRMLS_DC) { /* {{{ */ |
#if HAVE_MMAP |
#if HAVE_MMAP |
if (stream->mmap.map) { |
if (stream->mmap.map) { |
munmap(stream->mmap.map, stream->mmap.len); | munmap(stream->mmap.map, stream->mmap.len + ZEND_MMAP_AHEAD); |
} else |
} else |
#endif |
#endif |
if (stream->mmap.buf) { |
if (stream->mmap.buf) { |