com php-src: fixed typo: Zend/zend_alloc.c

From: Date: Tue, 27 Oct 2015 16:29:28 +0000
Subject: com php-src: fixed typo: Zend/zend_alloc.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-89648@lists.php.net to get a copy of this message
Commit: 08c97ea0a1fef2813127ea50ffeaa017cc947d0f Author: Markus Staab <maggus.staab@googlemail.com> Tue, 27 Oct 2015 17:29:28 +0100 Parents: b83782e6824a1e1bf132dfe94e5946b1ae66df1f Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=08c97ea0a1fef2813127ea50ffeaa017cc947d0f Log: fixed typo Changed paths: M Zend/zend_alloc.c Diff: diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c index 3057eeb..4e9102c 100644 --- a/Zend/zend_alloc.c +++ b/Zend/zend_alloc.c @@ -1463,9 +1463,9 @@ static void *zend_mm_realloc_heap(zend_mm_heap *heap, void *ptr, size_t size, si size = real_size; #endif #ifdef ZEND_WIN32 - /* On Windows we don't have ability to extend huge block in-place. + /* On Windows we don't have ability to extend huge blocks in-place. * We allocate them with 2MB size granularuty, to avoid many - * reallocatioons when they are extended by small peaces + * reallocations when they are extended by small pieces */ new_size = ZEND_MM_ALIGNED_SIZE_EX(size, MAX(REAL_PAGE_SIZE, ZEND_MM_CHUNK_SIZE)); #else @@ -1731,9 +1731,9 @@ static void zend_mm_change_huge_block_size(zend_mm_heap *heap, void *ptr, size_t static void *zend_mm_alloc_huge(zend_mm_heap *heap, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) { #ifdef ZEND_WIN32 - /* On Windows we don't have ability to extend huge block in-place. + /* On Windows we don't have ability to extend huge blocks in-place. * We allocate them with 2MB size granularuty, to avoid many - * reallocatioons when they are extended by small peaces + * reallocations when they are extended by small pieces */ size_t new_size = ZEND_MM_ALIGNED_SIZE_EX(size, MAX(REAL_PAGE_SIZE, ZEND_MM_CHUNK_SIZE)); #else

« previous php.cvs (#89648) next »