cvs: ZendEngine2(PHP_5_2) / zend_alloc.c php-src NEWS

From: Date: Wed, 25 Jul 2007 11:13:01 +0000
Subject: cvs: ZendEngine2(PHP_5_2) / zend_alloc.c php-src NEWS
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-5926@lists.php.net to get a copy of this message
dmitry Wed Jul 25 11:13:01 2007 UTC Modified files: (Branch: PHP_5_2) /php-src NEWS /ZendEngine2 zend_alloc.c Log: Fixed bug #41713 (Persistent memory consumption on win32 since 5.2) http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.858&r2=1.2027.2.547.2.859&diff_format=u Index: php-src/NEWS diff -u php-src/NEWS:1.2027.2.547.2.858 php-src/NEWS:1.2027.2.547.2.859 --- php-src/NEWS:1.2027.2.547.2.858 Tue Jul 24 23:15:58 2007 +++ php-src/NEWS Wed Jul 25 11:13:00 2007 @@ -117,6 +117,7 @@ - Fixed bug #41711 (NULL temporary lobs not supported in OCI8). (Chris Jones, Tony) - Fixed bug #41770 (SSL: fatal protocol error due to buffer issues). (Ilia) +- Fixed bug #41713 (Persistent memory consumption on win32 since 5.2). (Dmitry) - Fixed bug #41709 (strtotime() does not handle 00.00.0000). (Derick) - Fixed bug #41698 (float parameters truncated to integer in prepared statements). (Ilia) http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_alloc.c?r1=1.144.2.3.2.42&r2=1.144.2.3.2.43&diff_format=u Index: ZendEngine2/zend_alloc.c diff -u ZendEngine2/zend_alloc.c:1.144.2.3.2.42 ZendEngine2/zend_alloc.c:1.144.2.3.2.43 --- ZendEngine2/zend_alloc.c:1.144.2.3.2.42 Mon May 28 10:07:50 2007 +++ ZendEngine2/zend_alloc.c Wed Jul 25 11:13:00 2007 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_alloc.c,v 1.144.2.3.2.42 2007/05/28 10:07:50 tony2001 Exp $ */ +/* $Id: zend_alloc.c,v 1.144.2.3.2.43 2007/07/25 11:13:00 dmitry Exp $ */ #include "zend.h" #include "zend_alloc.h" @@ -1560,6 +1560,15 @@ free(heap); } } else { +#ifdef HAVE_MEM_WIN32 + /* FIX for bug #41713 */ + /* TODO: add new "compact" handler */ + if (storage->handlers->dtor == zend_mm_mem_win32_dtor && + storage->handlers->init == zend_mm_mem_win32_init) { + HeapDestroy((HANDLE)storage->data); + storage->data = (void*)HeapCreate(HEAP_NO_SERIALIZE, 0, 0); + } +#endif heap->segments_list = NULL; zend_mm_init(heap); heap->real_size = 0;

« previous php.zend-engine.cvs (#5926) next »