summaryrefslogtreecommitdiffstats
path: root/0001-use-zend_str_tolower-instead-of-php_strtolower.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-10-04 14:32:03 +0200
committerRemi Collet <remi@php.net>2024-10-04 14:32:03 +0200
commit594703812b11c22c7fd9069f4050aaa15eb04605 (patch)
treef88617245a4d9cdf6649fd37a310d0dfda0aa0de /0001-use-zend_str_tolower-instead-of-php_strtolower.patch
parent6b44f0520e7bc3bf4e1009b03fd691f001653546 (diff)
update to 3.1.8HEADmaster
Diffstat (limited to '0001-use-zend_str_tolower-instead-of-php_strtolower.patch')
-rw-r--r--0001-use-zend_str_tolower-instead-of-php_strtolower.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/0001-use-zend_str_tolower-instead-of-php_strtolower.patch b/0001-use-zend_str_tolower-instead-of-php_strtolower.patch
deleted file mode 100644
index 2c7b5e8..0000000
--- a/0001-use-zend_str_tolower-instead-of-php_strtolower.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 56c80d21dc57cae955c496d7b4bc1f3c388788df Mon Sep 17 00:00:00 2001
-From: Remi Collet <remi@php.net>
-Date: Wed, 25 Sep 2024 15:20:25 +0200
-Subject: [PATCH] use zend_str_tolower instead of php_strtolower
-
----
- package.xml | 2 +-
- php_mailparse_rfc822.c | 4 ++++
- 2 files changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/php_mailparse_rfc822.c b/php_mailparse_rfc822.c
-index 3be2915..3ad872c 100644
---- a/php_mailparse_rfc822.c
-+++ b/php_mailparse_rfc822.c
-@@ -428,7 +428,11 @@ PHP_MAILPARSE_API char *php_rfc822_recombine_tokens(php_rfc822_tokenized_t *toks
- ret[len] = 0;
-
- if (flags & PHP_RFC822_RECOMBINE_STRTOLOWER)
-+#if PHP_VERSION_ID < 80400
- php_strtolower(ret, len);
-+#else
-+ zend_str_tolower(ret, len);
-+#endif
-
- return ret;
- }
---
-2.46.1
-