summaryrefslogtreecommitdiffstats
path: root/xdebug-pr172.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-06-19 13:49:59 +0200
committerRemi Collet <fedora@famillecollet.com>2015-06-19 13:49:59 +0200
commit264b1cd91c81744b1b344b7640675d84c07523d5 (patch)
tree24fe38063bbaca231be8872248c92c594a9e77b2 /xdebug-pr172.patch
parenteae438c6359801a78bf4b1967f590772acb8b930 (diff)
php-pecl-xdebug: 2.3.3
Diffstat (limited to 'xdebug-pr172.patch')
-rw-r--r--xdebug-pr172.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/xdebug-pr172.patch b/xdebug-pr172.patch
deleted file mode 100644
index e262339..0000000
--- a/xdebug-pr172.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 419834a441cc65bb4e7220e1128356dc99d86211 Mon Sep 17 00:00:00 2001
-From: Remi Collet <fedora@famillecollet.com>
-Date: Wed, 22 Apr 2015 08:49:51 +0200
-Subject: [PATCH] fix usage of virtual_file_ex
-
----
- usefulstuff.c | 8 ++++++++
- 1 file changed, 8 insertions(+)
-
-diff --git a/usefulstuff.c b/usefulstuff.c
-index 83725c7..3bc4d1a 100644
---- a/usefulstuff.c
-+++ b/usefulstuff.c
-@@ -344,7 +344,11 @@ char *xdebug_path_to_url(const char *fileurl TSRMLS_DC)
- cwd[0] = '\0';
- }
-
-+#if PHP_VERSION_ID < 50600
- new_state.cwd = strdup(cwd);
-+#else
-+ new_state.cwd = estrdup(cwd);
-+#endif
- new_state.cwd_length = strlen(cwd);
-
- if (!virtual_file_ex(&new_state, fileurl, NULL, 1 TSRMLS_CC)) {
-@@ -352,7 +356,11 @@ char *xdebug_path_to_url(const char *fileurl TSRMLS_DC)
- tmp = xdebug_sprintf("file://%s",s);
- efree(s);
- }
-+#if PHP_VERSION_ID < 50600
- free(new_state.cwd);
-+#else
-+ efree(new_state.cwd);
-+#endif
-
- } else if (fileurl[1] == '/' || fileurl[1] == '\\') {
- /* convert UNC paths (eg. \\server\sharepath) */