summaryrefslogtreecommitdiffstats
path: root/memcache-php81.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-05-01 08:27:10 +0200
committerRemi Collet <remi@php.net>2023-05-01 08:27:10 +0200
commite85ad01c89b0c8cab0a227bb7d751a032dc2b840 (patch)
tree07c7772461a73fbd8bd07033d39e7884445de1dc /memcache-php81.patch
parentd21d9f2894a9cc066b96045e314cf3b4ebc22f52 (diff)
update to 8.2
drop patches merged upstream
Diffstat (limited to 'memcache-php81.patch')
-rw-r--r--memcache-php81.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/memcache-php81.patch b/memcache-php81.patch
deleted file mode 100644
index 5dbd7dc..0000000
--- a/memcache-php81.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From d20c716286034a0d21cd5505a046351aceea4cbc Mon Sep 17 00:00:00 2001
-From: Remi Collet <remi@remirepo.net>
-Date: Thu, 10 Jun 2021 14:21:03 +0200
-Subject: [PATCH] Fix Deprecated: memcache_connect(): Passing null to
- parameter #2...
-
----
- src/memcache.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/src/memcache.c b/src/memcache.c
-index 3048819..2cb675b 100644
---- a/src/memcache.c
-+++ b/src/memcache.c
-@@ -1319,8 +1319,9 @@ static void php_mmc_connect(INTERNAL_FUNCTION_PARAMETERS, zend_bool persistent)
- size_t host_len;
- zend_long tcp_port = MEMCACHE_G(default_port);
- double timeout = MMC_DEFAULT_TIMEOUT;
-+ zend_bool null_port;
-
-- if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|ld", &host, &host_len, &tcp_port, &timeout) == FAILURE) {
-+ if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l!d", &host, &host_len, &tcp_port, &null_port, &timeout) == FAILURE) {
- return;
- }
-