|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 Patch bug60038.patch for Scripting Engine problem Bug #60038Patch version 2011-10-11 09:16 UTCReturn 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";
 		}
 | 
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 07:00:01 2025 UTC |