diff options
author | Leon Timmermans <fawaka@gmail.com> | 2021-04-19 18:49:52 +0200 |
---|---|---|
committer | Leon Timmermans <fawaka@gmail.com> | 2021-05-24 13:56:14 +0200 |
commit | e6e9dd290698d47a0db9e1d676d2b82e0bb0a52b (patch) | |
tree | e0122058bbf0ffb5df1de8d5af2088d6b98959f6 /embed.fnc | |
parent | 18e5156b1786a26cd70a7f8ff84c10956d93faf3 (diff) | |
download | perl-e6e9dd290698d47a0db9e1d676d2b82e0bb0a52b.tar.gz |
Do not cache utf8 offsets for non-canonical lengths
In particular, if the length is beyond the end, it should not be stored as the end.
Diffstat (limited to 'embed.fnc')
-rw-r--r-- | embed.fnc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3095,7 +3095,7 @@ S |int |sv_2iuv_non_preserve |NN SV *const sv SR |STRLEN |expect_number |NN const char **const pattern ST |STRLEN |sv_pos_u2b_forwards|NN const U8 *const start \ |NN const U8 *const send|NN STRLEN *const uoffset \ - |NN bool *const at_end + |NN bool *const at_end|NN bool *canonical_position ST |STRLEN |sv_pos_u2b_midway|NN const U8 *const start \ |NN const U8 *send|STRLEN uoffset|const STRLEN uend S |STRLEN |sv_pos_u2b_cached|NN SV *const sv|NN MAGIC **const mgp \ |