]> Kevux Git Server - fll/commit
Bugfix: Quotes in FSS read functions are not being properly handled and fix backtick...
authorKevin Day <kevin@kevux.org>
Wed, 31 May 2023 04:31:13 +0000 (23:31 -0500)
committerKevin Day <kevin@kevux.org>
Wed, 31 May 2023 04:46:19 +0000 (23:46 -0500)
commit4cdf678711305bb24326bde3f2a195133944ad66
tree751e7ae70d80e0c4ea3c75ce62502a6495ff0d9c
parentba19b1cfbe6de7c440263d223aefd750ae725556
Bugfix: Quotes in FSS read functions are not being properly handled and fix backtick handling.

At some point in time the intended behavior changed from using the literal quote character to an enumeration representing the quote character on FSS read calls.
This transition is incomplete and broken.

Finish the transition, passing the enumeration representation rather than the literal character.

Remove an unnecessary initialization on the quote because the private function being called also initializes the variable.

Relocate the f_uint8s_increase() call to be after changing the error status to ensure that the quotes array is properly incremented.

Update the documentation comments to better clarify this behavior in regards to the enumeration.

There are several FSS read functions that are not handling backticks properly.
The backticks should now be fully and properly processed on read.
14 files changed:
level_0/f_fss/c/fss/common.h
level_0/f_fss/c/fss/quote.h
level_1/fl_fss/c/fss/basic.h
level_1/fl_fss/c/fss/extended.c
level_1/fl_fss/c/fss/extended.h
level_1/fl_fss/c/private-fss.c
level_1/fl_fss/c/private-fss.h
level_2/fll_fss/c/fss/basic.h
level_2/fll_fss/c/fss/extended.h
level_3/fss_basic_read/c/private-print.c
level_3/fss_extended_read/c/private-print.c
level_3/fss_extended_read/c/private-read.c
level_3/fss_payload_read/c/private-print.c
level_3/fss_payload_read/c/private-read.c