]> Kevux Git Server - fll/commit
Progress: Finish basic list content read changes.
authorKevin Day <Kevin@kevux.org>
Thu, 24 Sep 2026 01:49:20 +0000 (20:49 -0500)
committerKevin Day <Kevin@kevux.org>
Thu, 24 Sep 2026 01:49:20 +0000 (20:49 -0500)
commit8d95e471986b3c6bddc323054af6da341e20246e
tree2f670b08fcc760d87b2291357525f768029bc242
parent99eeab90315f3391d849bf7d658e27dfbbba4235
Progress: Finish basic list content read changes.

I discovered that copying the file with the combining character at the start of the line (U+0301) causes a space to be added.
This is problematic and cost me some time.

I have to then manually recreate the file and use my `utf8` program to regenerate the correct test data:
```sh
utf8 -cB U+0301 >> test.txt
```

Fix some issues with the basic list content read code.
The start should be set to `begin` and not `0`.

Finish adding the combining and joiner code.

Consistently apply the `newline_last`.

The content can be found but when it ends of EOS or stop, then it is returning the EOS or stop status codes (`F_okay_eos` and `F_okay_stop`) without setting the found structure.
The code calling this should just need to check for `F_content_found`, so change the behavior to do this and set the found position when returning EOS or stop at the end.
The start of the function should return EOS or stop as usual.
I suspect this problem is likely also in the extended read and other such code.

Consistently break out of the loop so the exit handling code gets properly called before returning on error.
level_1/fl_fss/c/fss/basic_list.c
level_1/fl_fss/data/tests/contents/basic_list-combining_read-1.txt
level_1/fl_fss/data/tests/counts/basic_list-combining_read.txt
level_1/fl_fss/data/tests/strings/basic_list-combining_read.txt
level_1/fl_fss/tests/unit/c/test-fss-basic_list_content_read.c