]> Kevux Git Server - fll/commit
Progress: Continue program related work.
authorKevin Day <thekevinday@gmail.com>
Thu, 1 Sep 2022 02:19:05 +0000 (21:19 -0500)
committerKevin Day <thekevinday@gmail.com>
Thu, 1 Sep 2022 02:19:05 +0000 (21:19 -0500)
commit7583821e1ab441eed6192c5b5eb1b74695ffa8c6
tree321aa065be7cbaf3a47fa6269f7f547784d30582
parent410855834eeeab23b2b347617945f3e67330882f
Progress: Continue program related work.

Slight restructuring of memory allocation:
- Add or move double free and and unnecessary free checks.
- If amount 0 for increase functions, then do nothing.
- When resizing, perform a stale check in case strings point to a static string.
- The private_f_memory_structure_resize() should properly return the error response.

Remove fll_program_parameter_long_print_cannot_use_with().

The fll_program_standard_set_down() needs to check both the stream and the descriptors when closing rather than one or the other.

Explicitly set signal_received to uint32_t rather than int.
- The signal needs to also be uint32_t rather than f_status_t.

Add several new print functions for common print messages used by the programs.

Switch from flockfile() to f_file_stream_lock() and from funlockfile() to f_file_stream_unlock().
- There are still a lot more cases where these changes need to be made.

Add more function documentation.

Use "greater than" rather than "not equal to" for console verbosity checks.

More changes to these programs:
- fss_status_code
- iki_write
- status_code
- utf8
101 files changed:
level_0/f_console/c/console/common.h
level_0/f_memory/c/memory/structure.c
level_0/f_memory/c/private-memory.c
level_2/fll_program/c/program.c
level_2/fll_program/c/program.h
level_2/fll_program/c/program/common.h
level_2/fll_program/c/program/print.c
level_2/fll_program/c/program/print.h
level_3/byte_dump/c/byte_dump.c
level_3/byte_dump/c/common.c
level_3/byte_dump/c/private-byte_dump.c
level_3/control/c/common.c
level_3/control/c/control.c
level_3/control/c/private-control.c
level_3/control/c/private-print.c
level_3/controller/c/common.c
level_3/controller/c/controller.c
level_3/controller/c/controller/private-controller.c
level_3/controller/c/entry/private-entry.c
level_3/controller/c/rule/private-rule.c
level_3/controller/c/thread/private-thread.c
level_3/controller/c/thread/private-thread_entry.c
level_3/controller/c/thread/private-thread_process.c
level_3/fake/c/common.c
level_3/fake/c/fake.c
level_3/fake/c/private-build-load.c
level_3/fake/c/private-build-objects.c
level_3/fake/c/private-build.c
level_3/fake/c/private-fake.c
level_3/fake/c/private-make-load_fakefile.c
level_3/fake/c/private-make-operate.c
level_3/fake/c/private-make-operate_process_type.c
level_3/fake/c/private-make.c
level_3/fake/c/private-print.c
level_3/fake/c/private-skeleton.c
level_3/firewall/c/common.c
level_3/firewall/c/firewall.c
level_3/firewall/c/private-firewall.c
level_3/fss_basic_list_read/c/common.c
level_3/fss_basic_list_read/c/fss_basic_list_read.c
level_3/fss_basic_list_read/c/private-read.c
level_3/fss_basic_list_write/c/common.c
level_3/fss_basic_list_write/c/fss_basic_list_write.c
level_3/fss_basic_list_write/c/private-write.c
level_3/fss_basic_read/c/common.c
level_3/fss_basic_read/c/fss_basic_read.c
level_3/fss_basic_read/c/private-read.c
level_3/fss_basic_write/c/common.c
level_3/fss_basic_write/c/fss_basic_write.c
level_3/fss_basic_write/c/private-write.c
level_3/fss_embedded_list_read/c/common.c
level_3/fss_embedded_list_read/c/fss_embedded_list_read.c
level_3/fss_embedded_list_write/c/common.c
level_3/fss_embedded_list_write/c/fss_embedded_list_write.c
level_3/fss_embedded_list_write/c/private-write.c
level_3/fss_extended_list_read/c/common.c
level_3/fss_extended_list_read/c/fss_extended_list_read.c
level_3/fss_extended_list_read/c/private-read.c
level_3/fss_extended_list_write/c/common.c
level_3/fss_extended_list_write/c/fss_extended_list_write.c
level_3/fss_extended_list_write/c/private-write.c
level_3/fss_extended_read/c/common.c
level_3/fss_extended_read/c/fss_extended_read.c
level_3/fss_extended_read/c/private-read.c
level_3/fss_extended_write/c/common.c
level_3/fss_extended_write/c/fss_extended_write.c
level_3/fss_extended_write/c/private-write.c
level_3/fss_identify/c/common.c
level_3/fss_identify/c/fss_identify.c
level_3/fss_payload_read/c/common.c
level_3/fss_payload_read/c/fss_payload_read.c
level_3/fss_payload_read/c/private-read.c
level_3/fss_payload_write/c/common.c
level_3/fss_payload_write/c/fss_payload_write.c
level_3/fss_payload_write/c/private-write.c
level_3/fss_status_code/c/common.c
level_3/fss_status_code/c/fss_status_code.c
level_3/fss_status_code/c/print.c
level_3/fss_status_code/c/print.h
level_3/iki_read/c/common.c
level_3/iki_read/c/iki_read.c
level_3/iki_write/c/common.c
level_3/iki_write/c/common.h
level_3/iki_write/c/iki_write.c
level_3/iki_write/c/iki_write.h
level_3/iki_write/c/main.c
level_3/iki_write/c/print.c
level_3/iki_write/c/print.h
level_3/iki_write/c/private-common.c
level_3/iki_write/c/private-common.h
level_3/iki_write/c/private-write.c
level_3/iki_write/c/private-write.h
level_3/status_code/c/common.c
level_3/status_code/c/print.c
level_3/status_code/c/print.h
level_3/status_code/c/status_code.c
level_3/utf8/c/common.c
level_3/utf8/c/common.h
level_3/utf8/c/print.c
level_3/utf8/c/print.h
level_3/utf8/c/utf8.c