diff options
author | Remi Collet <remi@remirepo.net> | 2019-03-15 09:38:14 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-03-15 09:38:14 +0100 |
commit | c4e942953e32789edb2d2d978b1dc663a45ca1ce (patch) | |
tree | 8a2d7f4afc1163e587ac37c49ff4d856ce6af147 /5687f6975d8c18223f114d0d0f1246c505b6f101.patch | |
parent | 23f2f19feff8cbe58faef9f7bdf1e54dce53ed74 (diff) |
update to 0.0.4
drop patch merged upstream
open https://github.com/ph4r05/php_aho_corasick/pull/17 fix version
open https://github.com/ph4r05/php_aho_corasick/pull/16 travis
run upstream test suite added in
https://github.com/ph4r05/php_aho_corasick/pull/13
open https://github.com/ph4r05/php_aho_corasick/pull/18 arginfo
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; + } |