diff options
Diffstat (limited to '5687f6975d8c18223f114d0d0f1246c505b6f101.patch')
-rw-r--r-- | 5687f6975d8c18223f114d0d0f1246c505b6f101.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/5687f6975d8c18223f114d0d0f1246c505b6f101.patch b/5687f6975d8c18223f114d0d0f1246c505b6f101.patch new file mode 100644 index 0000000..d8276cf --- /dev/null +++ b/5687f6975d8c18223f114d0d0f1246c505b6f101.patch @@ -0,0 +1,25 @@ +From 5687f6975d8c18223f114d0d0f1246c505b6f101 Mon Sep 17 00:00:00 2001 +From: Dusan Klinec <dusan.klinec@gmail.com> +Date: Fri, 15 Mar 2019 08:55:50 +0100 +Subject: [PATCH] zstr fix + +--- + src/php_ahocorasick.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/php_ahocorasick.c b/src/php_ahocorasick.c +index f825c4b..950d3b5 100644 +--- a/src/php_ahocorasick.c ++++ b/src/php_ahocorasick.c +@@ -254,9 +254,9 @@ static inline int php_ahocorasick_process_pattern(zend_long pidx, ahocorasick_pa + keyFound|=0x10; + } else { + php_error_docref(NULL TSRMLS_CC, E_WARNING, +- "Invalid structure (unrecognized sub-array key: [%s])! " ++ "Invalid structure (unrecognized sub-array key)! " + "Only allowed are: {key, id, value, aux, ignoreCase}. Cannot initialize. " +- "Pattern index: %ld", key, (long)pidx); ++ "Pattern index: %ld", (long)pidx); + returnCode = -2; + break; + } |