cvs: ZendEngine2(PHP_5_0) / zend_execute_API.c php-src NEWS

From: Date: Fri, 09 Dec 2005 18:11:04 +0000
Subject: cvs: ZendEngine2(PHP_5_0) / zend_execute_API.c php-src NEWS
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-4441@lists.php.net to get a copy of this message
dmitry Fri Dec 9 13:11:04 2005 EDT Modified files: (Branch: PHP_5_0) /php-src NEWS /ZendEngine2 zend_execute_API.c Log: Fixed bug #35612 (iis6 Access Violation crash) http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1760.2.526&r2=1.1760.2.527&ty=u Index: php-src/NEWS diff -u php-src/NEWS:1.1760.2.526 php-src/NEWS:1.1760.2.527 --- php-src/NEWS:1.1760.2.526 Fri Dec 9 12:02:10 2005 +++ php-src/NEWS Fri Dec 9 13:11:02 2005 @@ -4,6 +4,7 @@ - Fixed an error in mysqli_fetch_fields (returned NULL instead of an array when row number > field_count). (Georg) - Renamed CachingRecursiveIterator to RecursiveCachingIterator. (Marcus) +- Fixed bug #35612 (iis6 Access Violation crash). (Dmitry, alacn.uhahaa) - FIxed bug #35536 (mysql_field_type() doesn't handle NEWDECIMAL). (Tony) - Fixed bug #35437 (Segfault or Invalid Opcode 137/1/4). (Dmitry) - Fixed bug #35399 (Since fix of bug #35273 SOAP decoding of http://cvs.php.net/diff.php/ZendEngine2/zend_execute_API.c?r1=1.287.2.27&r2=1.287.2.28&ty=u Index: ZendEngine2/zend_execute_API.c diff -u ZendEngine2/zend_execute_API.c:1.287.2.27 ZendEngine2/zend_execute_API.c:1.287.2.28 --- ZendEngine2/zend_execute_API.c:1.287.2.27 Thu Nov 24 06:33:27 2005 +++ ZendEngine2/zend_execute_API.c Fri Dec 9 13:11:03 2005 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_execute_API.c,v 1.287.2.27 2005/11/24 11:33:27 dmitry Exp $ */ +/* $Id: zend_execute_API.c,v 1.287.2.28 2005/12/09 18:11:03 dmitry Exp $ */ #include <stdio.h> #include <signal.h> @@ -45,6 +45,7 @@ static WNDCLASS wc; static HWND timeout_window; static HANDLE timeout_thread_event; +static HANDLE timeout_thread_handle; static DWORD timeout_thread_id; static int timeout_thread_initialized=0; #endif @@ -1253,7 +1254,7 @@ void zend_init_timeout_thread() { timeout_thread_event = CreateEvent(NULL, FALSE, FALSE, NULL); - _beginthreadex(NULL, 0, timeout_thread_proc, NULL, 0, &timeout_thread_id); + timeout_thread_handle = _beginthreadex(NULL, 0, timeout_thread_proc, NULL, 0, &timeout_thread_id); WaitForSingleObject(timeout_thread_event, INFINITE); } @@ -1264,6 +1265,10 @@ return; } PostThreadMessage(timeout_thread_id, WM_QUIT, 0, 0); + + /* Wait for thread termination */ + WaitForSingleObject(timeout_thread_handle, 5000); + CloseHandle(timeout_thread_handle); } #endif

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