diff options
author | Remi Collet <remi@remirepo.net> | 2022-06-01 07:38:52 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2022-06-01 07:38:52 +0200 |
commit | 4e7193ae269a9202a3d660ea270ad3920cce3858 (patch) | |
tree | 42a54f3e681816a04b3fb2853b979cec346b8473 /0001-fix-c89.patch | |
parent | 3f06d7b3662b616c28ec77ed9279575a33201abd (diff) |
update to 0.4.2
Diffstat (limited to '0001-fix-c89.patch')
-rw-r--r-- | 0001-fix-c89.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/0001-fix-c89.patch b/0001-fix-c89.patch deleted file mode 100644 index d5ba611..0000000 --- a/0001-fix-c89.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 9085a7d766983a4d3aa9172a64b0e79c9cb01ae5 Mon Sep 17 00:00:00 2001 -From: Remi Collet <remi@remirepo.net> -Date: Wed, 4 Mar 2020 08:49:20 +0100 -Subject: [PATCH] fix c89 - ---- - csv.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/csv.c b/csv.c -index 0ed90d3..77263b6 100644 ---- a/csv.c -+++ b/csv.c -@@ -226,6 +226,7 @@ static HashTable* rfc4180_string_to_hashtable( - char **buffer, const size_t length, const zend_string *delimiter, - const zend_string *enclosure, const zend_string *eol_sequence) - { -+ size_t index; - HashTable *return_value = zend_new_array(8); - - bool in_escaped_field = false; -@@ -237,7 +238,7 @@ static HashTable* rfc4180_string_to_hashtable( - size_t field_value_length = 0; - - /* Main loop to "tokenize" the row */ -- for (size_t index = 0; index < length; ++index) { -+ for (index = 0; index < length; ++index) { - /* Check for field escape sequence (i.e. enclosure) */ - if (php_memnstr(row, ZSTR_VAL(enclosure), ZSTR_LEN(enclosure), row + ZSTR_LEN(enclosure))) { - row += ZSTR_LEN(enclosure); --- -2.24.1 - |