commit | e38e2c634b0e309e86cf6aff37698bae3927013e | [log] [tgz] |
---|---|---|
author | Benno Schulenberg <bensberg@justemail.net> | Sat Aug 06 10:34:38 2016 +0200 |
committer | Benno Schulenberg <bensberg@justemail.net> | Sat Aug 06 10:34:38 2016 +0200 |
tree | 120e283e284ccda4197ab9f00e26c14c5290921a | |
parent | d80109dd5e960ab007911b73a77161e3e8047798 [diff] |
chars: don't persist when only one of the compared sequences is invalid Persisting might lead to count 'n' reaching zero, which would mean that the needle has matched, which is wrong when one of the strings contains an invalid or incomplete multibyte sequence.