]> Kevux Git Server - fll/commitdiff
Update: Fix problems discovered in stand alone builds.
authorKevin Day <Kevin@kevux.org>
Sat, 13 Dec 2025 05:21:24 +0000 (23:21 -0600)
committerKevin Day <Kevin@kevux.org>
Sat, 13 Dec 2025 05:21:24 +0000 (23:21 -0600)
The cap defines, libraries, and flags are not needed by most of the stand alone build settings.

The example program does not need fll_print.

The fake program is now using more up to date source code files for f_iki (it was missing the eki files).

The fss_read programs were not including the correct config.h files.
This then exposed incomplete config files that are now updated.

14 files changed:
build/stand_alone/byte_dump.settings
build/stand_alone/example.config.h
build/stand_alone/example.settings
build/stand_alone/fake.settings
build/stand_alone/fss_identify.settings
build/stand_alone/fss_read.config.fss_basic.h
build/stand_alone/fss_read.config.fss_payload.h
build/stand_alone/fss_read.settings.fss_basic
build/stand_alone/fss_read.settings.fss_basic_list
build/stand_alone/fss_read.settings.fss_extended
build/stand_alone/fss_read.settings.fss_extended_list
build/stand_alone/fss_read.settings.fss_payload
build/stand_alone/status_code.settings
build/stand_alone/utf8.settings

index 6cebf1b..0902e87 100644 (file)
@@ -90,8 +90,6 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L
 
 defines -include sources/c/config.h -I sources/c/
 #defines -D_f_file_rename_use_renameat2_
-#defines -D_di_libcap_
-defines -D_libcap_legacy_only_
 defines-android -D_di_f_thread_attribute_affinity_get_ -D_di_f_thread_attribute_affinity_set_ -D_di_f_thread_attribute_concurrency_get_ -D_di_f_thread_attribute_concurrency_set_ -D_di_f_thread_attribute_default_get_ -D_di_f_thread_attribute_default_set_ -D_di_f_thread_cancel_ -D_di_f_thread_cancel_state_set_ -D_di_f_thread_cancel_test_ -D_di_f_thread_join_try_ -D_di_f_thread_join_timed_ -D_pthread_mutex_prioceiling_unsupported_ -D_di_f_thread_semaphore_file_close_ -D_di_f_thread_semaphore_file_open_ -D_di_f_thread_semaphore_file_delete_ -D_di_f_thread_cancel_type_set_
 defines-clang -D_clang_not_a_compile_time_constant_workaround_
 defines-debug -D_en_f_status_debug_
index f7c5f31..4f7899f 100644 (file)
@@ -10,7 +10,7 @@
 //   echo > /tmp/all.txt
 //   for i in f_type f_status f_memory f_type_array f_string f_utf f_color f_console f_conversion f_file f_pipe f_print f_rip f_signal f_thread f_time ; do grep -horP '\b_di_f_\w*\b' level_0/$i/c >> /tmp/all.txt ; grep -horP '\b_di_macro_\w*\b' level_0/$i/c >> /tmp/all.txt ; done
 //   for i in fl_print ; do grep -horP '\b_di_fl_\w*\b' level_1/$i/c >> /tmp/all.txt ; grep -horP '\b_di_macro_\w*\b' level_1/$i/c >> /tmp/all.txt ; done
-//   for i in fll_error fll_print fll_program ; do grep -horP '\b_di_fll_\w*\b' level_2/$i/c >> /tmp/all.txt ; grep -horP '\b_di_macro_\w*\b' level_2/$i/c >> /tmp/all.txt ; done
+//   for i in fll_error fll_program ; do grep -horP '\b_di_fll_\w*\b' level_2/$i/c >> /tmp/all.txt ; grep -horP '\b_di_macro_\w*\b' level_2/$i/c >> /tmp/all.txt ; done
 //   sort /tmp/all.txt | uniq | sed -e 's|^_|#define &|g' > /tmp/sorted.txt
 //   echo "#define _di_private_inline_f_print_to_error_" >> /tmp/sorted.txt
 //   echo "#define _di_private_inline_private_f_print_to_error_" >> /tmp/sorted.txt
 #define _di_fll_error_print_debug_
 //#define _di_fll_error_s_a_
 //#define _di_fll_error_s_e_
-#define _di_fll_print_
-#define _di_fll_print_character_
-#define _di_fll_print_character_safely_
-#define _di_fll_print_dynamic_
-#define _di_fll_print_dynamic_partial_
-#define _di_fll_print_dynamic_partial_raw_
-#define _di_fll_print_dynamic_partial_raw_safely_
-#define _di_fll_print_dynamic_partial_safely_
-#define _di_fll_print_dynamic_raw_
-#define _di_fll_print_dynamic_raw_safely_
-#define _di_fll_print_dynamic_safely_
-#define _di_fll_print_except_
-#define _di_fll_print_except_dynamic_
-#define _di_fll_print_except_dynamic_partial_
-#define _di_fll_print_except_dynamic_partial_raw_
-#define _di_fll_print_except_dynamic_partial_raw_safely_
-#define _di_fll_print_except_dynamic_partial_safely_
-#define _di_fll_print_except_dynamic_raw_
-#define _di_fll_print_except_dynamic_raw_safely_
-#define _di_fll_print_except_dynamic_safely_
-#define _di_fll_print_except_in_
-#define _di_fll_print_except_in_dynamic_
-#define _di_fll_print_except_in_dynamic_partial_
-#define _di_fll_print_except_in_dynamic_partial_raw_
-#define _di_fll_print_except_in_dynamic_partial_raw_safely_
-#define _di_fll_print_except_in_dynamic_partial_safely_
-#define _di_fll_print_except_in_dynamic_raw_
-#define _di_fll_print_except_in_dynamic_raw_safely_
-#define _di_fll_print_except_in_dynamic_safely_
-#define _di_fll_print_except_in_raw_
-#define _di_fll_print_except_in_raw_safely_
-#define _di_fll_print_except_in_safely_
-#define _di_fll_print_except_raw_
-#define _di_fll_print_except_raw_safely_
-#define _di_fll_print_except_safely_
-#define _di_fll_print_format_
-#define _di_fll_print_format_convert_
-#define _di_fll_print_raw_
-#define _di_fll_print_raw_safely_
-#define _di_fll_print_raw_terminated_
-#define _di_fll_print_safely_
-#define _di_fll_print_safely_terminated_
-#define _di_fll_print_string_va_
-#define _di_fll_print_terminated_
-#define _di_fll_print_trim_
-#define _di_fll_print_trim_dynamic_
-#define _di_fll_print_trim_dynamic_partial_
-#define _di_fll_print_trim_dynamic_partial_raw_
-#define _di_fll_print_trim_dynamic_partial_raw_safely_
-#define _di_fll_print_trim_dynamic_partial_safely_
-#define _di_fll_print_trim_dynamic_raw_
-#define _di_fll_print_trim_dynamic_raw_safely_
-#define _di_fll_print_trim_dynamic_safely_
-#define _di_fll_print_trim_except_
-#define _di_fll_print_trim_except_dynamic_
-#define _di_fll_print_trim_except_dynamic_partial_
-#define _di_fll_print_trim_except_dynamic_partial_raw_
-#define _di_fll_print_trim_except_dynamic_partial_raw_safely_
-#define _di_fll_print_trim_except_dynamic_partial_safely_
-#define _di_fll_print_trim_except_dynamic_raw_
-#define _di_fll_print_trim_except_dynamic_raw_safely_
-#define _di_fll_print_trim_except_dynamic_safely_
-#define _di_fll_print_trim_except_in_
-#define _di_fll_print_trim_except_in_dynamic_
-#define _di_fll_print_trim_except_in_dynamic_partial_
-#define _di_fll_print_trim_except_in_dynamic_partial_raw_
-#define _di_fll_print_trim_except_in_dynamic_partial_raw_safely_
-#define _di_fll_print_trim_except_in_dynamic_partial_safely_
-#define _di_fll_print_trim_except_in_dynamic_raw_
-#define _di_fll_print_trim_except_in_dynamic_raw_safely_
-#define _di_fll_print_trim_except_in_dynamic_safely_
-#define _di_fll_print_trim_except_in_raw_
-#define _di_fll_print_trim_except_in_raw_safely_
-#define _di_fll_print_trim_except_in_safely_
-#define _di_fll_print_trim_except_raw_
-#define _di_fll_print_trim_except_raw_safely_
-#define _di_fll_print_trim_except_safely_
-#define _di_fll_print_trim_raw_
-#define _di_fll_print_trim_raw_safely_
-#define _di_fll_print_trim_safely_
 //#define _di_fll_program_copyright_s_
 //#define _di_fll_program_copyright_year_author_s_
 //#define _di_fll_program_data_delete_
index 2a7bc7c..9c297bc 100644 (file)
@@ -34,9 +34,9 @@ build_indexer ar
 build_indexer_arguments rcs
 build_language c
 
-build_libraries_shared -lc -lcap
+build_libraries_shared -lc
 
-build_libraries_static -l:libc.a -l:libcap.a
+build_libraries_static -l:libc.a
 
 build_sources_program fll/level_0/color.c fll/level_0/private-color.c fll/level_0/color/common.c
 build_sources_program fll/level_0/console.c fll/level_0/console/common.c fll/level_0/private-console.c
@@ -71,7 +71,6 @@ build_sources_program-thread fll/level_0/thread/spin.c fll/level_0/thread/spins.
 build_sources_program fll/level_1/print.c fll/level_1/private-print.c fll/level_1/print/common.c
 
 build_sources_program fll/level_2/error.c fll/level_2/private-error.c fll/level_2/error/common.c fll/level_2/error/string.c
-build_sources_program fll/level_2/print.c
 build_sources_program fll/level_2/program.c fll/level_2/program/common.c fll/level_2/program/print.c fll/level_2/program/string.c fll/level_2/private-program.c
 
 build_sources_program program/example/main/common.c program/example/main/common/define.c program/example/main/common/enumeration.c program/example/main/common/string.c program/example/main/common/type.c
@@ -91,8 +90,6 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L
 
 defines -include sources/c/config.h -I sources/c/
 #defines -D_f_file_rename_use_renameat2_
-#defines -D_di_libcap_
-defines -D_libcap_legacy_only_
 defines-android -D_di_f_thread_attribute_affinity_get_ -D_di_f_thread_attribute_affinity_set_ -D_di_f_thread_attribute_concurrency_get_ -D_di_f_thread_attribute_concurrency_set_ -D_di_f_thread_attribute_default_get_ -D_di_f_thread_attribute_default_set_ -D_di_f_thread_cancel_ -D_di_f_thread_cancel_state_set_ -D_di_f_thread_cancel_test_ -D_di_f_thread_join_try_ -D_di_f_thread_join_timed_ -D_pthread_mutex_prioceiling_unsupported_ -D_di_f_thread_semaphore_file_close_ -D_di_f_thread_semaphore_file_open_ -D_di_f_thread_semaphore_file_delete_ -D_di_f_thread_cancel_type_set_
 defines-clang -D_clang_not_a_compile_time_constant_workaround_
 defines-debug -D_en_f_status_debug_
index 2ac5709..c52b4fb 100644 (file)
@@ -52,7 +52,7 @@ build_sources_program fll/level_0/environment.c
 build_sources_program fll/level_0/execute.c
 build_sources_program fll/level_0/file.c fll/level_0/private-file.c fll/level_0/file/common.c fll/level_0/file/stream.c
 build_sources_program fll/level_0/fss.c fll/level_0/fss/common.c fll/level_0/fss/item.c fll/level_0/fss/named.c fll/level_0/fss/nest.c fll/level_0/fss/payload.c fll/level_0/fss/quote.c fll/level_0/fss/set.c fll/level_0/fss/set_quote.c fll/level_0/fss/simple_packet.c
-build_sources_program fll/level_0/iki.c fll/level_0/private-iki.c fll/level_0/iki/common.c fll/level_0/iki/private-data.c fll/level_0/iki/data.c
+build_sources_program fll/level_0/iki.c fll/level_0/private-iki.c fll/level_0/iki/common.c fll/level_0/iki/private-data.c fll/level_0/iki/private-eki.c fll/level_0/iki/data.c fll/level_0/iki/eki.c
 build_sources_program fll/level_0/limit.c fll/level_0/limit/set.c fll/level_0/limit/value.c
 build_sources_program fll/level_0/memory.c fll/level_0/memory/array.c fll/level_0/memory/arrays.c
 build_sources_program fll/level_0/private-memory.c fll/level_0/memory/private-array.c
index 6370bd7..ef442ff 100644 (file)
@@ -34,7 +34,7 @@ build_indexer ar
 build_indexer_arguments rcs
 build_language c
 
-build_libraries_shared -lc -lcap
+build_libraries_shared -lc
 
 build_libraries_static -l:libc.a -l:libcap.a
 
@@ -96,9 +96,8 @@ environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
 defines -include sources/c/config.h -I sources/c/
-#defines -D_di_libcap_
-defines -D_libcap_legacy_only_
 defines-android -D_di_f_thread_attribute_affinity_get_ -D_di_f_thread_attribute_affinity_set_ -D_di_f_thread_attribute_concurrency_get_ -D_di_f_thread_attribute_concurrency_set_ -D_di_f_thread_attribute_default_get_ -D_di_f_thread_attribute_default_set_ -D_di_f_thread_cancel_ -D_di_f_thread_cancel_state_set_ -D_di_f_thread_cancel_test_ -D_di_f_thread_join_try_ -D_di_f_thread_join_timed_ -D_pthread_mutex_prioceiling_unsupported_ -D_di_f_thread_semaphore_file_close_ -D_di_f_thread_semaphore_file_open_ -D_di_f_thread_semaphore_file_delete_ -D_di_f_thread_cancel_type_set_
+defines-clang -D_clang_not_a_compile_time_constant_workaround_
 defines-debug -D_en_f_status_debug_
 defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
 defines-threadless -D_di_thread_support_
index 7661ac1..e7a44db 100644 (file)
 #define _di_f_fss_namedss_delete_callback_
 #define _di_f_fss_namedss_destroy_callback_
 #define _di_f_fss_namedss_t_
-#define _di_f_fss_nest_delete_
+//#define _di_f_fss_nest_delete_
 #define _di_f_fss_nest_destroy_
 //#define _di_f_fss_nest_t_
 #define _di_f_fss_nests_delete_callback_
index 3c44426..becd2c9 100644 (file)
 //#define _di_fl_conversion_dynamic_to_unsigned_detect_
 #define _di_fl_fss_basic_content_read_
 #define _di_fl_fss_basic_content_write_
-#define _di_fl_fss_basic_list_content_read_
+//#define _di_fl_fss_basic_list_content_read_
 #define _di_fl_fss_basic_list_content_write_
-#define _di_fl_fss_basic_list_object_read_
+//#define _di_fl_fss_basic_list_object_read_
 #define _di_fl_fss_basic_list_object_write_
 #define _di_fl_fss_basic_object_read_
 #define _di_fl_fss_basic_object_write_
index be2e5fb..eae86ba 100644 (file)
@@ -96,7 +96,7 @@ path_headers fll
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
-defines -include sources/c/config.h -I sources/c/
+defines -include sources/c/config.fss_basic.h -I sources/c/
 #defines -D_f_file_rename_use_renameat2_
 defines-android -D_di_f_thread_attribute_affinity_get_ -D_di_f_thread_attribute_affinity_set_ -D_di_f_thread_attribute_concurrency_get_ -D_di_f_thread_attribute_concurrency_set_ -D_di_f_thread_attribute_default_get_ -D_di_f_thread_attribute_default_set_ -D_di_f_thread_cancel_ -D_di_f_thread_cancel_state_set_ -D_di_f_thread_cancel_test_ -D_di_f_thread_join_try_ -D_di_f_thread_join_timed_ -D_pthread_mutex_prioceiling_unsupported_ -D_di_f_thread_semaphore_file_close_ -D_di_f_thread_semaphore_file_open_ -D_di_f_thread_semaphore_file_delete_ -D_di_f_thread_cancel_type_set_
 defines-clang -D_clang_not_a_compile_time_constant_workaround_
index 68f25c7..f079737 100644 (file)
@@ -96,7 +96,7 @@ path_headers fll
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
-defines -include sources/c/config.h -I sources/c/
+defines -include sources/c/config.fss_basic_list.h -I sources/c/
 #defines -D_f_file_rename_use_renameat2_
 defines-android -D_di_f_thread_attribute_affinity_get_ -D_di_f_thread_attribute_affinity_set_ -D_di_f_thread_attribute_concurrency_get_ -D_di_f_thread_attribute_concurrency_set_ -D_di_f_thread_attribute_default_get_ -D_di_f_thread_attribute_default_set_ -D_di_f_thread_cancel_ -D_di_f_thread_cancel_state_set_ -D_di_f_thread_cancel_test_ -D_di_f_thread_join_try_ -D_di_f_thread_join_timed_ -D_pthread_mutex_prioceiling_unsupported_ -D_di_f_thread_semaphore_file_close_ -D_di_f_thread_semaphore_file_open_ -D_di_f_thread_semaphore_file_delete_ -D_di_f_thread_cancel_type_set_
 defines-clang -D_clang_not_a_compile_time_constant_workaround_
index 8830a65..cea4c9f 100644 (file)
@@ -96,7 +96,7 @@ path_headers fll
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
-defines -include sources/c/config.h -I sources/c/
+defines -include sources/c/config.fss_extended.h -I sources/c/
 #defines -D_f_file_rename_use_renameat2_
 defines-android -D_di_f_thread_attribute_affinity_get_ -D_di_f_thread_attribute_affinity_set_ -D_di_f_thread_attribute_concurrency_get_ -D_di_f_thread_attribute_concurrency_set_ -D_di_f_thread_attribute_default_get_ -D_di_f_thread_attribute_default_set_ -D_di_f_thread_cancel_ -D_di_f_thread_cancel_state_set_ -D_di_f_thread_cancel_test_ -D_di_f_thread_join_try_ -D_di_f_thread_join_timed_ -D_pthread_mutex_prioceiling_unsupported_ -D_di_f_thread_semaphore_file_close_ -D_di_f_thread_semaphore_file_open_ -D_di_f_thread_semaphore_file_delete_ -D_di_f_thread_cancel_type_set_
 defines-clang -D_clang_not_a_compile_time_constant_workaround_
index 40633a8..80633bb 100644 (file)
@@ -96,7 +96,7 @@ path_headers fll
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
-defines -include sources/c/config.h -I sources/c/
+defines -include sources/c/config.fss_extended_list.h -I sources/c/
 #defines -D_f_file_rename_use_renameat2_
 defines-android -D_di_f_thread_attribute_affinity_get_ -D_di_f_thread_attribute_affinity_set_ -D_di_f_thread_attribute_concurrency_get_ -D_di_f_thread_attribute_concurrency_set_ -D_di_f_thread_attribute_default_get_ -D_di_f_thread_attribute_default_set_ -D_di_f_thread_cancel_ -D_di_f_thread_cancel_state_set_ -D_di_f_thread_cancel_test_ -D_di_f_thread_join_try_ -D_di_f_thread_join_timed_ -D_pthread_mutex_prioceiling_unsupported_ -D_di_f_thread_semaphore_file_close_ -D_di_f_thread_semaphore_file_open_ -D_di_f_thread_semaphore_file_delete_ -D_di_f_thread_cancel_type_set_
 defines-clang -D_clang_not_a_compile_time_constant_workaround_
index 17fbfe6..c834e68 100644 (file)
@@ -96,7 +96,7 @@ path_headers fll
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
-defines -include sources/c/config.h -I sources/c/
+defines -include sources/c/config.fss_payload.h -I sources/c/
 #defines -D_f_file_rename_use_renameat2_
 defines-android -D_di_f_thread_attribute_affinity_get_ -D_di_f_thread_attribute_affinity_set_ -D_di_f_thread_attribute_concurrency_get_ -D_di_f_thread_attribute_concurrency_set_ -D_di_f_thread_attribute_default_get_ -D_di_f_thread_attribute_default_set_ -D_di_f_thread_cancel_ -D_di_f_thread_cancel_state_set_ -D_di_f_thread_cancel_test_ -D_di_f_thread_join_try_ -D_di_f_thread_join_timed_ -D_pthread_mutex_prioceiling_unsupported_ -D_di_f_thread_semaphore_file_close_ -D_di_f_thread_semaphore_file_open_ -D_di_f_thread_semaphore_file_delete_ -D_di_f_thread_cancel_type_set_
 defines-clang -D_clang_not_a_compile_time_constant_workaround_
index 6d29630..7ad8e61 100644 (file)
@@ -80,7 +80,6 @@ build_sources_program fll/level_2/print.c
 build_sources_program fll/level_2/program.c fll/level_2/program/common.c fll/level_2/program/print.c fll/level_2/program/string.c fll/level_2/private-program.c
 
 build_sources_program program/status_code/main/status_code.c program/status_code/main/common.c program/status_code/main/common/define.c program/status_code/main/common/enumeration.c program/status_code/main/common/string.c program/status_code/main/common/type.c program/status_code/main/convert.c program/status_code/main/print/data.c program/status_code/main/print/error.c program/status_code/main/print/message.c program/status_code/main/process.c program/status_code/main/signal.c program/status_code/main/thread.c
-
 build_sources_program program/status_code/main/main.c
 
 build_sources_documentation man
index b1959bc..7e2e0c7 100644 (file)
@@ -91,8 +91,6 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L
 
 defines -include sources/c/config.h -I sources/c/
 #defines -D_f_file_rename_use_renameat2_
-#defines -D_di_libcap_
-defines -D_libcap_legacy_only_
 defines-android -D_di_f_thread_attribute_affinity_get_ -D_di_f_thread_attribute_affinity_set_ -D_di_f_thread_attribute_concurrency_get_ -D_di_f_thread_attribute_concurrency_set_ -D_di_f_thread_attribute_default_get_ -D_di_f_thread_attribute_default_set_ -D_di_f_thread_cancel_ -D_di_f_thread_cancel_state_set_ -D_di_f_thread_cancel_test_ -D_di_f_thread_join_try_ -D_di_f_thread_join_timed_ -D_pthread_mutex_prioceiling_unsupported_ -D_di_f_thread_semaphore_file_close_ -D_di_f_thread_semaphore_file_open_ -D_di_f_thread_semaphore_file_delete_ -D_di_f_thread_cancel_type_set_
 defines-clang -D_clang_not_a_compile_time_constant_workaround_
 defines-debug -D_en_f_status_debug_