aboutsummaryrefslogtreecommitdiff
path: root/net/pecl-smbclient/files/patch-smbclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/pecl-smbclient/files/patch-smbclient.c')
-rw-r--r--net/pecl-smbclient/files/patch-smbclient.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/net/pecl-smbclient/files/patch-smbclient.c b/net/pecl-smbclient/files/patch-smbclient.c
deleted file mode 100644
index 925dcb108078..000000000000
--- a/net/pecl-smbclient/files/patch-smbclient.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- smbclient.c.orig 2023-04-17 03:27:10 UTC
-+++ smbclient.c
-@@ -1202,7 +1202,7 @@ PHP_FUNCTION(smbclient_read)
- return;
- }
- if (count < 0) {
-- php_error(E_WARNING, "Negative byte count: %ld", count);
-+ php_error(E_WARNING, "Negative byte count: " ZEND_LONG_FMT, count);
- RETURN_FALSE;
- }
- STATE_FROM_ZSTATE;
-@@ -1253,7 +1253,7 @@ PHP_FUNCTION(smbclient_write)
- return;
- }
- if (count < 0) {
-- php_error(E_WARNING, "Negative byte count: %ld", count);
-+ php_error(E_WARNING, "Negative byte count: " ZEND_LONG_FMT, count);
- RETURN_FALSE;
- }
- if (count == 0 || count > str_len) {