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: 2011-10-13 00:42 UTC | 2011-10-11 09:16 UTC

Developer: laruence@php.net

Line 1 (now 1), was 24 lines, now 20 lines

  Index: trunk/main/main.c
  ===================================================================
 --- trunk/main/main.c	(revision 318015)
 --- trunk/main/main.c	(revision 317883)
  +++ trunk/main/main.c	(working copy)
 @@ -889,6 +889,9 @@
 @@ -889,6 +889,7 @@
   
   	/* 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 @@
 @@ -897,6 +898,7 @@
   			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-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 20:01:32 2024 UTC