]> Kevux Git Server - fll/commit
Update: Utilize the state.flag to allow for iki read to not fail out on invalid UTF...
authorKevin Day <thekevinday@gmail.com>
Wed, 11 May 2022 03:19:54 +0000 (22:19 -0500)
committerKevin Day <thekevinday@gmail.com>
Wed, 11 May 2022 04:44:48 +0000 (23:44 -0500)
commitf6aa54cd5e5b576c7493689cec4e4a5e10550a8b
tree39c1786a48407ebe1ddc24da9ba2da98ee70017c
parent1f593a0e49a696fe1768eb16fca610bef4cf2b8d
Update: Utilize the state.flag to allow for iki read to not fail out on invalid UTF-8 code sequence.

One of the original goals of the FLL project is to achieve fail-through functionality.
Knowing that this is a lot of work, I have ignored a lot of situations where I can implement fail-through and simply performed fail-out or fail-over.

With the upcoming stable release, I believe that this must handle bad data files.
This adds the option to conditionally change the behavior between fail-through and fail-out for the f_iki_read() and related for invalid UTF-8 code sequences.
The default behavior is now changed from fail-out to fail-through.
level_0/f_iki/c/iki.c
level_0/f_iki/c/iki.h
level_0/f_iki/c/iki/common.h
level_1/fl_iki/c/iki.c
level_1/fl_iki/c/iki.h
level_3/iki_read/c/iki_read.c
level_3/iki_read/c/private-read.c