php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #60038
Patch bug60038.patch revision 2011-10-13 00:42 UTC by laruence@php.net
revision 2011-10-11 09:16 UTC by laruence@php.net

Patch bug60038.patch for Scripting Engine problem Bug #60038

Patch version 2011-10-13 00:42 UTC

Return to Bug #60038 | Download this patch
This patch renders other patches obsolete

Obsolete patches:

Patch Revisions:

Developer: laruence@php.net

Index: trunk/main/main.c
===================================================================
--- trunk/main/main.c	(revision 318015)
+++ trunk/main/main.c	(working copy)
@@ -889,6 +889,9 @@
 
 	/* store the error if it has changed */
 	if (display) {
+#ifdef ZEND_SIGNALS
+		HANDLE_BLOCK_INTERRUPTIONS();	
+#endif
 		if (PG(last_error_message)) {
 			free(PG(last_error_message));
 			PG(last_error_message) = NULL;
@@ -897,6 +900,9 @@
 			free(PG(last_error_file));
 			PG(last_error_file) = NULL;
 		}
+#ifdef ZEND_SIGNALS
+		HANDLE_UNBLOCK_INTERRUPTIONS();
+#endif
 		if (!error_filename) {
 			error_filename = "Unknown";
 		}
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Sat Apr 19 22:02:16 2014 UTC