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-11 09:16 UTC

Return to Bug #60038 | Download this patch
This patch is obsolete

Obsoleted by patches:

Patch Revisions:

Developer: laruence@php.net

Index: trunk/main/main.c
===================================================================
--- trunk/main/main.c	(revision 317883)
+++ trunk/main/main.c	(working copy)
@@ -889,6 +889,7 @@
 
 	/* store the error if it has changed */
 	if (display) {
+		HANDLE_BLOCK_INTERRUPTIONS();	
 		if (PG(last_error_message)) {
 			free(PG(last_error_message));
 			PG(last_error_message) = NULL;
@@ -897,6 +898,7 @@
 			free(PG(last_error_file));
 			PG(last_error_file) = NULL;
 		}
+		HANDLE_UNBLOCK_INTERRUPTIONS();
 		if (!error_filename) {
 			error_filename = "Unknown";
 		}
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 05:01:28 2024 UTC