summaryrefslogtreecommitdiffstats
path: root/0001-constify.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001-constify.patch')
-rw-r--r--0001-constify.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/0001-constify.patch b/0001-constify.patch
deleted file mode 100644
index 6bdfe10..0000000
--- a/0001-constify.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From af212091cd5d4b65d248bace5e2ce2c5827ed2a6 Mon Sep 17 00:00:00 2001
-From: Remi Collet <remi@remirepo.net>
-Date: Tue, 30 Nov 2021 11:23:03 +0100
-Subject: [PATCH] constify
-
----
- vld.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/vld.c b/vld.c
-index 0c9de4c..aa11d0a 100644
---- a/vld.c
-+++ b/vld.c
-@@ -287,9 +287,9 @@ static zend_op_array *vld_compile_file(zend_file_handle *file_handle, int type)
- {
- zend_op_array *op_array;
- #if PHP_VERSION_ID < 80100
-- char *filename = file_handle->filename;
-+ const char *filename = file_handle->filename;
- #else
-- char *filename = ZSTR_VAL(file_handle->filename);
-+ const char *filename = ZSTR_VAL(file_handle->filename);
- #endif
-
- if (!VLD_G(execute) &&
---
-2.33.1
-