]> Kevux Git Server - fll/commit
Update: get the level_3 / programs working after major file / directory changes
authorKevin Day <thekevinday@gmail.com>
Sat, 23 May 2020 05:35:03 +0000 (00:35 -0500)
committerKevin Day <thekevinday@gmail.com>
Sat, 23 May 2020 05:35:03 +0000 (00:35 -0500)
commit692892731eb89387417808d203c50f9eb0e9a1aa
tree90fbd517b0c67180aa678bd42f01a53835a4710c
parent07830cda02e756ce7db961bee37d20326239e603
Update: get the level_3 / programs working after major file / directory changes

This required making some fixes in the files related code.
This puts the UTF-8 file (utf_file) project notably behind an additional work is necessary to get that working correctly as well as having it be consistent with f_file.

I've decided that when written pointer is 0, then the caller is requesting to not get back the written size.
I am very likely going to do similar behavior with null pointers in other uses, which will help further simplify the design.

Other minor changes.
Of particular note is moving flags into the f_file structure.
This was effectively how the pre-file redesign worked, but it uses flags now instead of the "r", "rw", "a", etc.. string modes used by fopen.
Make sure an append flag is available.
55 files changed:
level_0/f_file/c/file.c
level_0/f_file/c/file.h
level_0/f_file/c/private-file.c
level_0/f_file/c/private-file.h
level_0/f_pipe/c/pipe.c
level_0/f_pipe/c/pipe.h
level_0/f_status/c/status.h
level_0/f_type/c/type.h
level_1/fl_fss/c/fss.h
level_1/fl_status/c/status.c
level_1/fl_status/c/status.h
level_1/fl_utf_file/c/utf_file.c
level_2/fll_execute/c/execute.c
level_2/fll_file/c/file.h
level_2/fll_program/c/program.c
level_2/fll_status/c/status.c
level_3/byte_dump/c/byte_dump.c
level_3/byte_dump/c/main.c
level_3/byte_dump/c/private-byte_dump.c
level_3/fake/c/fake.c
level_3/fake/c/private-build.c
level_3/fake/c/private-clean.c
level_3/fake/c/private-fake.c
level_3/fake/c/private-skeleton.c
level_3/firewall/c/firewall.c
level_3/firewall/c/main.c
level_3/firewall/c/private-firewall.c
level_3/firewall/c/private-firewall.h
level_3/fss_basic_list_read/c/fss_basic_list_read.c
level_3/fss_basic_list_read/c/main.c
level_3/fss_basic_list_read/c/private-fss_basic_list_read.c
level_3/fss_basic_list_write/c/fss_basic_list_write.c
level_3/fss_basic_list_write/c/main.c
level_3/fss_basic_read/c/fss_basic_read.c
level_3/fss_basic_read/c/main.c
level_3/fss_basic_read/c/private-fss_basic_read.c
level_3/fss_basic_write/c/fss_basic_write.c
level_3/fss_extended_list_read/c/fss_extended_list_read.c
level_3/fss_extended_list_read/c/fss_extended_list_read.h
level_3/fss_extended_list_read/c/main.c
level_3/fss_extended_list_read/c/private-fss_extended_list_read.c
level_3/fss_extended_read/c/fss_extended_read.c
level_3/fss_extended_read/c/main.c
level_3/fss_extended_read/c/private-fss_extended_read.c
level_3/fss_extended_write/c/fss_extended_write.c
level_3/fss_extended_write/c/main.c
level_3/fss_status_code/c/fss_status_code.c
level_3/fss_status_code/c/main.c
level_3/fss_status_code/c/private-fss_status_code.c
level_3/init/c/init.c
level_3/init/c/main.c
level_3/init/c/private-init.c
level_3/status_code/c/main.c
level_3/status_code/c/private-status_code.c
level_3/status_code/c/status_code.c