Permalink
Browse files

Merge branch 'PHP-5.3' into PHP-5.4

  • Loading branch information...
2 parents ce92857 + 433089c commit 242658c053f505dfd3f307cea348867beee450ee @laruence laruence committed Aug 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Zend/zend_stream.c
View
2 Zend/zend_stream.c
@@ -79,7 +79,7 @@ static size_t zend_stream_stdio_fsizer(void *handle TSRMLS_DC) /* {{{ */
static void zend_stream_unmap(zend_stream *stream TSRMLS_DC) { /* {{{ */
#if HAVE_MMAP
if (stream->mmap.map) {
- munmap(stream->mmap.map, stream->mmap.len);
+ munmap(stream->mmap.map, stream->mmap.len + ZEND_MMAP_AHEAD);
} else
#endif
if (stream->mmap.buf) {

0 comments on commit 242658c

Please sign in to comment.