Skip to content

Commit

Permalink
MFH
Browse files Browse the repository at this point in the history
  • Loading branch information
tony2001 committed Apr 29, 2008
1 parent 4489851 commit c75658c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Zend/zend_stream.c
Expand Up @@ -231,11 +231,11 @@ ZEND_API int zend_stream_fixup(zend_file_handle *file_handle, char **buf, size_t
}
}
file_handle->handle.stream.mmap.map = 0;
file_handle->handle.stream.mmap.buf = *buf;
file_handle->handle.stream.mmap.len = size;
if (size && remain < ZEND_MMAP_AHEAD) {
*buf = safe_erealloc(*buf, size, 1, ZEND_MMAP_AHEAD);
}
file_handle->handle.stream.mmap.buf = *buf;
}

if (file_handle->handle.stream.mmap.len == 0) {
Expand Down
4 changes: 2 additions & 2 deletions ext/reflection/tests/026.phpt
@@ -1,5 +1,5 @@
--TEST--
reflectionExtension::info()
ReflectionExtension::info()
--SKIPIF--
<?php extension_loaded('reflection') or die('skip'); ?>
--FILE--
Expand All @@ -12,7 +12,7 @@ $r = new ReflectionExtension("date");
$r->info();

echo "\nDone!\n";

?>
--EXPECTF--
Reflection

Expand Down

0 comments on commit c75658c

Please sign in to comment.