]> Kevux Git Server - fll/commit
Progress: major redesigns with file and directory handling, this changeset is incomplete
authorKevin Day <thekevinday@gmail.com>
Thu, 21 May 2020 05:08:09 +0000 (00:08 -0500)
committerKevin Day <thekevinday@gmail.com>
Thu, 21 May 2020 05:08:09 +0000 (00:08 -0500)
commit48dcd7adde696ac8c38fabadd52b91cf6585c469
tree808607c7a024269fe565ffca26998c6d0583736b
parentde9aaefd8be0cb4ffc964cfe5eea02f4e441841e
Progress: major redesigns with file and directory handling, this changeset is incomplete

In the process of writing the directory copy, I realized I needed to improve the file and directory management.
This triggered me to rethink how I was handling files and directories to some extend.

If memory serves me correctly, the POSIX 2008 was either too new or non-existent when I first wrote some of this.
Updating to use the newer POSIX functionality and changes seems worth this major change.

Add additional file functionality.
Lots of re-organization and redesign.

I still haven't finished this and would rather commit now, with incomplete code randomly throughout, than risk losing any changes.
In particular, the fl_utf_file is where I need to resume.
I need to then update all of the level 3 programs to use the new file/directory handling code.
After that I need to finish writing the directory copy, which should include investigating and implementing file copy operations for more than regular files and symbolic links.
I also need to remember to investigate copying hard links as a hard link instead of as a duplicate file.
48 files changed:
build/level_0/settings
build/level_1/settings
build/level_2/settings
build/monolithic/settings
documents/todo.txt
level_0/f_directory/c/directory.c
level_0/f_directory/c/directory.h
level_0/f_directory/c/private-directory.h
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_file/data/build/dependencies
level_0/f_status/c/status.h
level_0/f_string/c/string.h
level_0/f_utf/c/utf.h
level_1/fl_directory/c/directory.c [new file with mode: 0644]
level_1/fl_directory/c/directory.h [new file with mode: 0644]
level_1/fl_directory/c/private-directory.c [new file with mode: 0644]
level_1/fl_directory/c/private-directory.h [new file with mode: 0644]
level_1/fl_directory/data/build/defines [new file with mode: 0644]
level_1/fl_directory/data/build/dependencies [new file with mode: 0644]
level_1/fl_directory/data/build/settings [new file with mode: 0644]
level_1/fl_file/c/file.c
level_1/fl_file/c/file.h
level_1/fl_fss/c/fss.c
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/private-utf_file.c [new file with mode: 0644]
level_1/fl_utf_file/c/private-utf_file.h [new file with mode: 0644]
level_1/fl_utf_file/c/utf_file.c
level_1/fl_utf_file/c/utf_file.h
level_1/fl_utf_file/data/build/dependencies
level_1/fl_utf_file/data/build/settings
level_2/fll_directory/c/directory.c
level_2/fll_directory/c/directory.h
level_2/fll_status/c/status.c
level_3/fake/c/private-build.c
level_3/fake/c/private-clean.c
level_3/fake/c/private-skeleton.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.h
level_3/fss_basic_read/c/fss_basic_read.h
level_3/fss_extended_list_read/c/fss_extended_list_read.h
level_3/fss_extended_read/c/fss_extended_read.h
level_3/init/c/private-init.c