From 34b94266a02351392a4a8371098de9c3f9313a4a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 27 May 2015 13:08:56 +0200 Subject: php-pecl-xdebug: add patch for efree/str_efree with php 5.6 --- xdebug-pr176.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 xdebug-pr176.patch (limited to 'xdebug-pr176.patch') diff --git a/xdebug-pr176.patch b/xdebug-pr176.patch new file mode 100644 index 0000000..ea8eef7 --- /dev/null +++ b/xdebug-pr176.patch @@ -0,0 +1,22 @@ +From 2358ad26cd4db2806180aca61a7ccaceb19fa526 Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Wed, 27 May 2015 11:34:09 +0200 +Subject: [PATCH] switch from efree to STR_FREE + +--- + xdebug_stack.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/xdebug_stack.c b/xdebug_stack.c +index 56304bf..82707f1 100644 +--- a/xdebug_stack.c ++++ b/xdebug_stack.c +@@ -247,7 +247,7 @@ void xdebug_append_error_description(xdebug_str *str, int html, const char *erro + xdebug_str_add(str, xdebug_sprintf(formats[1], error_type_str, escaped, error_filename, error_lineno), 1); + } + +- efree(escaped); ++ STR_FREE(escaped); + } + + void xdebug_append_printable_stack(xdebug_str *str, int html TSRMLS_DC) -- cgit