php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #55649
Patch bug55649.diff revision 2011-09-09 05:05 UTC by laruence@php.net
Patch php_undef_function_bug revision 2011-09-09 03:39 UTC by anton dot dobkin at gmail dot com

Patch bug55649.diff for Compile Failure Bug #55649

Patch version 2011-09-09 05:05 UTC

Return to Bug #55649 | Download this patch
Patch Revisions:

Developer: laruence@php.net

Index: trunk/Zend/zend_strtod.c
===================================================================
--- trunk/Zend/zend_strtod.c	(revision 316437)
+++ trunk/Zend/zend_strtod.c	(working copy)
@@ -445,6 +445,12 @@
 
 #endif /* ZTS */
 
+#ifdef DEBUG
+static void Bug(const char *message) {
+	fprintf(stderr, "%s\n", message);
+}
+#endif
+
 ZEND_API int zend_startup_strtod(void) /* {{{ */
 {
 #ifdef ZTS
Index: branches/PHP_5_3/Zend/zend_strtod.c
===================================================================
--- branches/PHP_5_3/Zend/zend_strtod.c	(revision 316437)
+++ branches/PHP_5_3/Zend/zend_strtod.c	(working copy)
@@ -445,6 +445,12 @@
 
 #endif /* ZTS */
 
+#ifdef DEBUG
+static void Bug(const char *message) {
+	fprintf(stderr, "%s\n", message);
+}
+#endif
+
 ZEND_API int zend_startup_strtod(void) /* {{{ */
 {
 #ifdef ZTS
Index: branches/PHP_5_4/Zend/zend_strtod.c
===================================================================
--- branches/PHP_5_4/Zend/zend_strtod.c	(revision 316437)
+++ branches/PHP_5_4/Zend/zend_strtod.c	(working copy)
@@ -445,6 +445,12 @@
 
 #endif /* ZTS */
 
+#ifdef DEBUG
+static void Bug(const char *message) {
+	fprintf(stderr, "%s\n", message);
+}
+#endif
+
 ZEND_API int zend_startup_strtod(void) /* {{{ */
 {
 #ifdef ZTS
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 05:01:27 2024 UTC