From 1ec5697a712d8ac16ee87f5822c4fe569346800c Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sun, 5 Feb 2023 21:01:24 -0600 Subject: [PATCH] Bugfix: Invalid defines, incorrect comments, missing flags, and missing dependencies. There is an inconsistency where _di_f_color_string_s_ and _di_f_color_strings_s_ are used. Settle on _di_f_color_string_s_ because it is defined in the header file. Incorrect defines, such as _di_f_utf_is_contro_codel_ are removed. The *.config.h comment example doesn't work. Consistently add fanalyzer mode and make sure it is available in both settings and fakefile files. Some of the define macros are missing in regards to private functions. The controller program is missing f_limit and fl_directory dependencies. --- level_0/f_string/c/string/private-dynamics.c | 4 ++-- level_0/f_string/c/string/private-dynamics.h | 5 +++-- level_0/f_thread/c/private-thread.c | 13 +++++++------ level_0/f_thread/c/private-thread.h | 15 +++++++++------ level_0/f_utf/c/private-utf_control.c | 6 +++--- level_0/f_utf/c/private-utf_control.h | 6 ++++-- level_1/fl_utf/c/private-utf.h | 4 ++-- level_3/byte_dump/data/build/fakefile | 2 +- level_3/control/data/build/fakefile | 2 +- level_3/controller/data/build/dependencies | 2 ++ level_3/controller/data/build/fakefile | 2 +- level_3/fake/data/build/fakefile | 2 +- level_3/firewall/data/build/fakefile | 2 +- level_3/fss_basic_list_read/data/build/fakefile | 2 +- level_3/fss_basic_read/data/build/fakefile | 2 +- .../fss_embedded_list_read/data/build/fakefile | 2 +- .../fss_extended_list_read/data/build/fakefile | 2 +- level_3/fss_extended_read/data/build/fakefile | 2 +- level_3/fss_identify/data/build/fakefile | 2 +- level_3/fss_payload_read/data/build/fakefile | 2 +- level_3/iki_read/data/build/fakefile | 2 +- level_3/iki_write/data/build/fakefile | 2 +- level_3/status_code/data/build/fakefile | 2 +- level_3/utf8/data/build/fakefile | 2 +- 24 files changed, 48 insertions(+), 39 deletions(-) diff --git a/level_0/f_string/c/string/private-dynamics.c b/level_0/f_string/c/string/private-dynamics.c index a57d6ca06..91e0540c4 100644 --- a/level_0/f_string/c/string/private-dynamics.c +++ b/level_0/f_string/c/string/private-dynamics.c @@ -80,7 +80,7 @@ extern "C" { } #endif // !defined(_di_f_string_dynamics_append_all_) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_map_multis_append_all_) -#if !defined(_di_f_string_dynamics_decrease_by_) || !defined(_di_f_string_dynamics_increase_) || !defined(_di_f_string_dynamics_increase_by_) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_map_multis_append_all_) || !defined(_di_f_string_map_multis_decrease_by_) || !defined(_di_f_string_map_multis_increase_) || !defined(_di_f_string_map_multis_increase_by_) || !defined(_di_f_string_map_multis_resize_) || !defined(_di_f_string_map_multiss_append_) || !defined(_di_f_string_map_multiss_append_all_) || !defined(_di_f_string_map_multiss_decrease_by_) || !defined(_di_f_string_map_multiss_increase_) || !defined(_di_f_string_map_multiss_increase_by_) +#if !defined(_di_f_string_dynamics_decrease_by_) || !defined(_di_f_string_dynamics_increase_) || !defined(_di_f_string_dynamics_increase_by_) || !defined(f_string_dynamics_resize) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_map_multis_append_all_) || !defined(_di_f_string_map_multis_decrease_by_) || !defined(_di_f_string_map_multis_increase_) || !defined(_di_f_string_map_multis_increase_by_) || !defined(_di_f_string_map_multis_resize_) || !defined(_di_f_string_map_multiss_append_) || !defined(_di_f_string_map_multiss_append_all_) || !defined(_di_f_string_map_multiss_decrease_by_) || !defined(_di_f_string_map_multiss_increase_) || !defined(_di_f_string_map_multiss_increase_by_) f_status_t private_f_string_dynamics_resize(const f_array_length_t length, f_string_dynamics_t * const dynamics) { if (dynamics->used + length > F_array_length_t_size_d) return F_status_set_error(F_array_too_large); @@ -104,7 +104,7 @@ extern "C" { return F_none; } -#endif // !defined(_di_f_string_dynamics_decrease_by_) || !defined(_di_f_string_dynamics_increase_) || !defined(_di_f_string_dynamics_increase_by_) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_map_multis_append_all_) || !defined(_di_f_string_map_multis_decrease_by_) || !defined(_di_f_string_map_multis_increase_) || !defined(_di_f_string_map_multis_increase_by_) || !defined(_di_f_string_map_multis_resize_) || !defined(_di_f_string_map_multiss_append_) || !defined(_di_f_string_map_multiss_append_all_) || !defined(_di_f_string_map_multiss_decrease_by_) || !defined(_di_f_string_map_multiss_increase_) || !defined(_di_f_string_map_multiss_increase_by_) +#endif // !defined(_di_f_string_dynamics_decrease_by_) || !defined(_di_f_string_dynamics_increase_) || !defined(_di_f_string_dynamics_increase_by_) || !defined(f_string_dynamics_resize) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_map_multis_append_all_) || !defined(_di_f_string_map_multis_decrease_by_) || !defined(_di_f_string_map_multis_increase_) || !defined(_di_f_string_map_multis_increase_by_) || !defined(_di_f_string_map_multis_resize_) || !defined(_di_f_string_map_multiss_append_) || !defined(_di_f_string_map_multiss_append_all_) || !defined(_di_f_string_map_multiss_decrease_by_) || !defined(_di_f_string_map_multiss_increase_) || !defined(_di_f_string_map_multiss_increase_by_) #ifdef __cplusplus } // extern "C" diff --git a/level_0/f_string/c/string/private-dynamics.h b/level_0/f_string/c/string/private-dynamics.h index cd6081ffe..382b72e0a 100644 --- a/level_0/f_string/c/string/private-dynamics.h +++ b/level_0/f_string/c/string/private-dynamics.h @@ -120,6 +120,7 @@ extern "C" { * @see f_string_dynamics_decrease_by() * @see f_string_dynamics_increase() * @see f_string_dynamics_increase_by() + * @see f_string_dynamics_resize() * @see f_string_map_multis_append() * @see f_string_map_multis_append_all() * @see f_string_map_multis_decrease_by() @@ -132,9 +133,9 @@ extern "C" { * @see f_string_map_multiss_increase() * @see f_string_map_multiss_increase_by() */ -#if !defined(_di_f_string_dynamics_decrease_by_) || !defined(_di_f_string_dynamics_increase_) || !defined(_di_f_string_dynamics_increase_by_) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_map_multis_append_all_) || !defined(_di_f_string_map_multis_decrease_by_) || !defined(_di_f_string_map_multis_increase_) || !defined(_di_f_string_map_multis_increase_by_) || !defined(_di_f_string_map_multis_resize_) || !defined(_di_f_string_map_multiss_append_) || !defined(_di_f_string_map_multiss_append_all_) || !defined(_di_f_string_map_multiss_decrease_by_) || !defined(_di_f_string_map_multiss_increase_) || !defined(_di_f_string_map_multiss_increase_by_) +#if !defined(_di_f_string_dynamics_decrease_by_) || !defined(_di_f_string_dynamics_increase_) || !defined(_di_f_string_dynamics_increase_by_) || !defined(f_string_dynamics_resize) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_map_multis_append_all_) || !defined(_di_f_string_map_multis_decrease_by_) || !defined(_di_f_string_map_multis_increase_) || !defined(_di_f_string_map_multis_increase_by_) || !defined(_di_f_string_map_multis_resize_) || !defined(_di_f_string_map_multiss_append_) || !defined(_di_f_string_map_multiss_append_all_) || !defined(_di_f_string_map_multiss_decrease_by_) || !defined(_di_f_string_map_multiss_increase_) || !defined(_di_f_string_map_multiss_increase_by_) extern f_status_t private_f_string_dynamics_resize(const f_array_length_t length, f_string_dynamics_t * const dynamics) F_attribute_visibility_internal_d; -#endif // !defined(_di_f_string_dynamics_decrease_by_) || !defined(_di_f_string_dynamics_increase_) || !defined(_di_f_string_dynamics_increase_by_) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_map_multis_append_all_) || !defined(_di_f_string_map_multis_decrease_by_) || !defined(_di_f_string_map_multis_increase_) || !defined(_di_f_string_map_multis_increase_by_) || !defined(_di_f_string_map_multis_resize_) || !defined(_di_f_string_map_multiss_append_) || !defined(_di_f_string_map_multiss_append_all_) || !defined(_di_f_string_map_multiss_decrease_by_) || !defined(_di_f_string_map_multiss_increase_) || !defined(_di_f_string_map_multiss_increase_by_) +#endif // !defined(_di_f_string_dynamics_decrease_by_) || !defined(_di_f_string_dynamics_increase_) || !defined(_di_f_string_dynamics_increase_by_) || !defined(f_string_dynamics_resize) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_map_multis_append_all_) || !defined(_di_f_string_map_multis_decrease_by_) || !defined(_di_f_string_map_multis_increase_) || !defined(_di_f_string_map_multis_increase_by_) || !defined(_di_f_string_map_multis_resize_) || !defined(_di_f_string_map_multiss_append_) || !defined(_di_f_string_map_multiss_append_all_) || !defined(_di_f_string_map_multiss_decrease_by_) || !defined(_di_f_string_map_multiss_increase_) || !defined(_di_f_string_map_multiss_increase_by_) #ifdef __cplusplus } // extern "C" diff --git a/level_0/f_thread/c/private-thread.c b/level_0/f_thread/c/private-thread.c index fe1f2982d..c3c37ebd5 100644 --- a/level_0/f_thread/c/private-thread.c +++ b/level_0/f_thread/c/private-thread.c @@ -257,7 +257,7 @@ extern "C" { } #endif // !defined(_di_f_thread_condition_attributes_decrease_) || !defined(_di_f_thread_condition_attributes_decrease_by_) || !defined(_di_f_thread_condition_attributes_increase_) || !defined(_di_f_thread_condition_attributes_increase_by_) -#if !defined(_di_f_thread_conditions_adjust_) || !defined(_di_f_thread_conditions_decimate_by_) || !defined(_di_f_thread_conditions_decrease_) || !defined(_di_f_thread_conditions_decrease_by_) || !defined(_di_f_thread_conditions_increase_) || !defined(_di_f_thread_conditions_increase_by_) || !defined(_di_f_thread_conditions_resize_) +#if !defined(_di_f_thread_condition_delete_) || !defined(_di_f_thread_conditions_adjust_) || !defined(_di_f_thread_conditions_decimate_by_) || !defined(_di_f_thread_conditions_decrease_) || !defined(_di_f_thread_conditions_decrease_by_) || !defined(_di_f_thread_conditions_increase_) || !defined(_di_f_thread_conditions_increase_by_) || !defined(_di_f_thread_conditions_resize_) f_status_t private_f_thread_condition_delete(f_thread_condition_t *condition) { const int error = pthread_cond_destroy(condition); @@ -271,7 +271,7 @@ extern "C" { return F_none; } -#endif // !defined(_di_f_thread_conditions_adjust_) || !defined(_di_f_thread_conditions_decimate_by_) || !defined(_di_f_thread_conditions_decrease_) || !defined(_di_f_thread_conditions_decrease_by_) || !defined(_di_f_thread_conditions_increase_) || !defined(_di_f_thread_conditions_increase_by_) || !defined(_di_f_thread_conditions_resize_) +#endif // !defined(_di_f_thread_condition_delete_) || !defined(_di_f_thread_conditions_adjust_) || !defined(_di_f_thread_conditions_decimate_by_) || !defined(_di_f_thread_conditions_decrease_) || !defined(_di_f_thread_conditions_decrease_by_) || !defined(_di_f_thread_conditions_increase_) || !defined(_di_f_thread_conditions_increase_by_) || !defined(_di_f_thread_conditions_resize_) #if !defined(_di_f_thread_conditions_adjust_) || !defined(_di_f_thread_conditions_decimate_by_) f_status_t private_f_thread_conditions_adjust(const f_array_length_t length, f_thread_conditions_t * const conditions) { @@ -484,7 +484,7 @@ extern "C" { } #endif // !defined(_di_f_thread_lock_attributes_decrease_) || !defined(_di_f_thread_lock_attributes_decrease_by_) || !defined(_di_f_thread_lock_attributes_increase_) || !defined(_di_f_thread_lock_attributes_increase_by_) -#if !defined(_di_f_thread_locks_adjust_) || !defined(_di_f_thread_locks_decimate_by_) || !defined(_di_f_thread_locks_decrease_) || !defined(_di_f_thread_locks_decrease_by_) || !defined(_di_f_thread_locks_increase_) || !defined(_di_f_thread_locks_increase_by_) || !defined(_di_f_thread_locks_resize_) +#if !defined(_di_f_thread_lock_delete_) || !defined(_di_f_thread_locks_adjust_) || !defined(_di_f_thread_locks_decimate_by_) || !defined(_di_f_thread_locks_decrease_) || !defined(_di_f_thread_locks_decrease_by_) || !defined(_di_f_thread_locks_increase_) || !defined(_di_f_thread_locks_increase_by_) || !defined(_di_f_thread_locks_resize_) f_status_t private_f_thread_lock_delete(f_thread_lock_t *lock) { const int error = pthread_rwlock_destroy(lock); @@ -498,7 +498,7 @@ extern "C" { return F_none; } -#endif // !defined(_di_f_thread_locks_adjust_) || !defined(_di_f_thread_locks_decimate_by_) || !defined(_di_f_thread_locks_decrease_) || !defined(_di_f_thread_locks_decrease_by_) || !defined(_di_f_thread_locks_increase_) || !defined(_di_f_thread_locks_increase_by_) || !defined(_di_f_thread_locks_resize_) +#endif // !defined(_di_f_thread_lock_delete_) || !defined(_di_f_thread_locks_adjust_) || !defined(_di_f_thread_locks_decimate_by_) || !defined(_di_f_thread_locks_decrease_) || !defined(_di_f_thread_locks_decrease_by_) || !defined(_di_f_thread_locks_increase_) || !defined(_di_f_thread_locks_increase_by_) || !defined(_di_f_thread_locks_resize_) #if !defined(_di_f_thread_locks_adjust_) || !defined(_di_f_thread_locks_decimate_by_) f_status_t private_f_thread_locks_adjust(const f_array_length_t length, f_thread_locks_t * const locks) { @@ -612,7 +612,8 @@ extern "C" { } #endif // !defined(_di_f_thread_mutex_attributes_decrease_) || !defined(_di_f_thread_mutex_attributes_decrease_by_) || !defined(_di_f_thread_mutex_attributes_increase_) || !defined(_di_f_thread_mutex_attributes_increase_by_) -#if !defined(_di_f_thread_mutexs_adjust_) || !defined(_di_f_thread_mutexs_decimate_by_) || !defined(_di_f_thread_mutexs_decrease_) || !defined(_di_f_thread_mutexs_decrease_by_) || !defined(_di_f_thread_mutexs_increase_) || !defined(_di_f_thread_mutexs_increase_by_) || !defined(_di_f_thread_mutexs_resize_) + +#if !defined(_di_f_thread_mutex_delete_) || !defined(_di_f_thread_mutexs_adjust_) || !defined(_di_f_thread_mutexs_decimate_by_) || !defined(_di_f_thread_mutexs_decrease_) || !defined(_di_f_thread_mutexs_decrease_by_) || !defined(_di_f_thread_mutexs_increase_) || !defined(_di_f_thread_mutexs_increase_by_) || !defined(_di_f_thread_mutexs_resize_) f_status_t private_f_thread_mutex_delete(f_thread_mutex_t *mutex) { const int error = pthread_mutex_destroy(mutex); @@ -626,7 +627,7 @@ extern "C" { return F_none; } -#endif // !defined(_di_f_thread_mutexs_adjust_) || !defined(_di_f_thread_mutexs_decimate_by_) || !defined(_di_f_thread_mutexs_decrease_) || !defined(_di_f_thread_mutexs_decrease_by_) || !defined(_di_f_thread_mutexs_increase_) || !defined(_di_f_thread_mutexs_increase_by_) || !defined(_di_f_thread_mutexs_resize_) +#endif // !defined(_di_f_thread_mutex_delete_) || !defined(_di_f_thread_mutexs_adjust_) || !defined(_di_f_thread_mutexs_decimate_by_) || !defined(_di_f_thread_mutexs_decrease_) || !defined(_di_f_thread_mutexs_decrease_by_) || !defined(_di_f_thread_mutexs_increase_) || !defined(_di_f_thread_mutexs_increase_by_) || !defined(_di_f_thread_mutexs_resize_) #if !defined(_di_f_thread_mutexs_adjust_) || !defined(_di_f_thread_mutexs_decimate_by_) f_status_t private_f_thread_mutexs_adjust(const f_array_length_t length, f_thread_mutexs_t * const mutexs) { diff --git a/level_0/f_thread/c/private-thread.h b/level_0/f_thread/c/private-thread.h index 604d6acad..b69ba06a3 100644 --- a/level_0/f_thread/c/private-thread.h +++ b/level_0/f_thread/c/private-thread.h @@ -353,6 +353,7 @@ extern "C" { * * @see pthread_cond_destroy() * + * @see f_thread_condition_delete() * @see f_thread_conditions_adjust() * @see f_thread_conditions_decimate_by() * @see f_thread_conditions_decrease() @@ -361,9 +362,9 @@ extern "C" { * @see f_thread_conditions_increase_by() * @see f_thread_conditions_resize() */ -#if !defined(_di_f_thread_conditions_adjust_) || !defined(_di_f_thread_conditions_decimate_by_) || !defined(_di_f_thread_conditions_decrease_) || !defined(_di_f_thread_conditions_decrease_by_) || !defined(_di_f_thread_conditions_increase_) || !defined(_di_f_thread_conditions_increase_by_) || !defined(_di_f_thread_conditions_resize_) +#if !defined(_di_f_thread_condition_delete_) || !defined(_di_f_thread_conditions_adjust_) || !defined(_di_f_thread_conditions_decimate_by_) || !defined(_di_f_thread_conditions_decrease_) || !defined(_di_f_thread_conditions_decrease_by_) || !defined(_di_f_thread_conditions_increase_) || !defined(_di_f_thread_conditions_increase_by_) || !defined(_di_f_thread_conditions_resize_) extern f_status_t private_f_thread_condition_delete(f_thread_condition_t *condition) F_attribute_visibility_internal_d; -#endif // !defined(_di_f_thread_conditions_adjust_) || !defined(_di_f_thread_conditions_decimate_by_) || !defined(_di_f_thread_conditions_decrease_) || !defined(_di_f_thread_conditions_decrease_by_) || !defined(_di_f_thread_conditions_increase_) || !defined(_di_f_thread_conditions_increase_by_) || !defined(_di_f_thread_conditions_resize_) +#endif // !defined(_di_f_thread_condition_delete_) || !defined(_di_f_thread_conditions_adjust_) || !defined(_di_f_thread_conditions_decimate_by_) || !defined(_di_f_thread_conditions_decrease_) || !defined(_di_f_thread_conditions_decrease_by_) || !defined(_di_f_thread_conditions_increase_) || !defined(_di_f_thread_conditions_increase_by_) || !defined(_di_f_thread_conditions_resize_) /** * Private implementation for resizing. @@ -628,6 +629,7 @@ extern "C" { * * @see pthread_rwlock_destroy() * + * @see f_thread_lock_delete() * @see f_thread_locks_adjust() * @see f_thread_locks_decimate_by() * @see f_thread_locks_decrease() @@ -636,9 +638,9 @@ extern "C" { * @see f_thread_locks_increase_by() * @see f_thread_locks_resize() */ -#if !defined(_di_f_thread_locks_adjust_) || !defined(_di_f_thread_locks_decimate_by_) || !defined(_di_f_thread_locks_decrease_) || !defined(_di_f_thread_locks_decrease_by_) || !defined(_di_f_thread_locks_increase_) || !defined(_di_f_thread_locks_increase_by_) || !defined(_di_f_thread_locks_resize_) +#if !defined(_di_f_thread_lock_delete_) || !defined(_di_f_thread_locks_adjust_) || !defined(_di_f_thread_locks_decimate_by_) || !defined(_di_f_thread_locks_decrease_) || !defined(_di_f_thread_locks_decrease_by_) || !defined(_di_f_thread_locks_increase_) || !defined(_di_f_thread_locks_increase_by_) || !defined(_di_f_thread_locks_resize_) extern f_status_t private_f_thread_lock_delete(f_thread_lock_t *lock) F_attribute_visibility_internal_d; -#endif // !defined(_di_f_thread_locks_adjust_) || !defined(_di_f_thread_locks_decimate_by_) || !defined(_di_f_thread_locks_decrease_) || !defined(_di_f_thread_locks_decrease_by_) || !defined(_di_f_thread_locks_increase_) || !defined(_di_f_thread_locks_increase_by_) || !defined(_di_f_thread_locks_resize_) +#endif // !defined(_di_f_thread_lock_delete_) || !defined(_di_f_thread_locks_adjust_) || !defined(_di_f_thread_locks_decimate_by_) || !defined(_di_f_thread_locks_decrease_) || !defined(_di_f_thread_locks_decrease_by_) || !defined(_di_f_thread_locks_increase_) || !defined(_di_f_thread_locks_increase_by_) || !defined(_di_f_thread_locks_resize_) /** * Private implementation for resizing. @@ -779,6 +781,7 @@ extern "C" { * * @see pthread_mutex_destroy() * + * @see f_thread_mutex_delete() * @see f_thread_mutexs_adjust() * @see f_thread_mutexs_decimate_by() * @see f_thread_mutexs_decrease() @@ -787,9 +790,9 @@ extern "C" { * @see f_thread_mutexs_increase_by() * @see f_thread_mutexs_resize() */ -#if !defined(_di_f_thread_mutexs_adjust_) || !defined(_di_f_thread_mutexs_decimate_by_) || !defined(_di_f_thread_mutexs_decrease_) || !defined(_di_f_thread_mutexs_decrease_by_) || !defined(_di_f_thread_mutexs_increase_) || !defined(_di_f_thread_mutexs_increase_by_) || !defined(_di_f_thread_mutexs_resize_) +#if !defined(_di_f_thread_mutex_delete_) || !defined(_di_f_thread_mutexs_adjust_) || !defined(_di_f_thread_mutexs_decimate_by_) || !defined(_di_f_thread_mutexs_decrease_) || !defined(_di_f_thread_mutexs_decrease_by_) || !defined(_di_f_thread_mutexs_increase_) || !defined(_di_f_thread_mutexs_increase_by_) || !defined(_di_f_thread_mutexs_resize_) extern f_status_t private_f_thread_mutex_delete(f_thread_mutex_t *mutex) F_attribute_visibility_internal_d; -#endif // !defined(_di_f_thread_mutexs_adjust_) || !defined(_di_f_thread_mutexs_decimate_by_) || !defined(_di_f_thread_mutexs_decrease_) || !defined(_di_f_thread_mutexs_decrease_by_) || !defined(_di_f_thread_mutexs_increase_) || !defined(_di_f_thread_mutexs_increase_by_) || !defined(_di_f_thread_mutexs_resize_) +#endif // !defined(_di_f_thread_mutex_delete_) || !defined(_di_f_thread_mutexs_adjust_) || !defined(_di_f_thread_mutexs_decimate_by_) || !defined(_di_f_thread_mutexs_decrease_) || !defined(_di_f_thread_mutexs_decrease_by_) || !defined(_di_f_thread_mutexs_increase_) || !defined(_di_f_thread_mutexs_increase_by_) || !defined(_di_f_thread_mutexs_resize_) /** * Private implementation for resizing. diff --git a/level_0/f_utf/c/private-utf_control.c b/level_0/f_utf/c/private-utf_control.c index d6d1a7d4e..d12cec645 100644 --- a/level_0/f_utf/c/private-utf_control.c +++ b/level_0/f_utf/c/private-utf_control.c @@ -6,7 +6,7 @@ extern "C" { #endif -#if !defined(_di_f_utf_character_is_control_) || !defined(_di_f_utf_is_control_) +#if !defined(_di_f_utf_character_is_alphabetic_) || !defined(_di_f_utf_character_is_control_) || !defined(_di_f_utf_is_alphabetic_) || !defined(_di_f_utf_is_control_) f_status_t private_f_utf_character_is_control(const f_utf_char_t sequence) { if (macro_f_utf_char_t_width_is(sequence) == 2) { @@ -127,7 +127,7 @@ extern "C" { return F_false; } -#endif // !defined(_di_f_utf_character_is_control_) || !defined(_di_f_utf_is_control_) +#endif // !defined(_di_f_utf_character_is_alphabetic_) || !defined(_di_f_utf_character_is_control_) || !defined(_di_f_utf_is_alphabetic_) || !defined(_di_f_utf_is_control_) #if !defined(_di_f_utf_character_is_control_code_) || !defined(_di_f_utf_is_control_code_) f_status_t private_f_utf_character_is_control_code(const f_utf_char_t sequence) { @@ -142,7 +142,7 @@ extern "C" { return F_false; } -#endif // !defined(_di_f_utf_character_is_control_code_) || !defined(_di_f_utf_is_contro_codel_) +#endif // !defined(_di_f_utf_character_is_control_code_) || !defined(_di_f_utf_is_control_code_) #if !defined(_di_f_utf_character_is_control_format_) || !defined(_di_f_utf_is_control_format_) f_status_t private_f_utf_character_is_control_format(const f_utf_char_t sequence) { diff --git a/level_0/f_utf/c/private-utf_control.h b/level_0/f_utf/c/private-utf_control.h index 1b41ee67a..d12c1555e 100644 --- a/level_0/f_utf/c/private-utf_control.h +++ b/level_0/f_utf/c/private-utf_control.h @@ -34,12 +34,14 @@ extern "C" { * F_utf_fragment (with error bit) if character is a UTF-8 fragment. * F_utf_not (with error bit) if unicode is an invalid Unicode character. * + * @see f_utf_character_is_alphabetic() * @see f_utf_character_is_control() + * @see f_utf_is_alphabetic() * @see f_utf_is_control() */ -#if !defined(_di_f_utf_character_is_control_) || !defined(_di_f_utf_is_control_) +#if !defined(_di_f_utf_character_is_alphabetic_) || !defined(_di_f_utf_character_is_control_) || !defined(_di_f_utf_is_alphabetic_) || !defined(_di_f_utf_is_control_) extern f_status_t private_f_utf_character_is_control(const f_utf_char_t sequence) F_attribute_visibility_internal_d; -#endif // !defined(_di_f_utf_character_is_control_) || !defined(_di_f_utf_is_control_) +#endif // !defined(_di_f_utf_character_is_alphabetic_) || !defined(_di_f_utf_character_is_control_) || !defined(_di_f_utf_is_alphabetic_) || !defined(_di_f_utf_is_control_) /** * Private implementation of f_utf_character_is_control_code(). diff --git a/level_1/fl_utf/c/private-utf.h b/level_1/fl_utf/c/private-utf.h index 93d7a871b..db34307a6 100644 --- a/level_1/fl_utf/c/private-utf.h +++ b/level_1/fl_utf/c/private-utf.h @@ -43,9 +43,9 @@ extern "C" { * @see fl_utf_string_dynamic_compare() * @see fl_utf_string_dynamic_partial_compare() */ -#if !defined(_di_fl_utfl_string_compare_) || !defined(_di_fl_utfl_string_dynamic_compare_) || !defined(_di_fl_utfl_string_dynamic_partial_compare_) +#if !defined(_di_fl_utf_string_compare_) || !defined(_di_fl_utf_string_dynamic_compare_) || !defined(_di_fl_utf_string_dynamic_partial_compare_) extern f_status_t private_fl_utf_string_compare(const f_utf_string_t string1, const f_utf_string_t string2, const f_array_length_t offset1, const f_array_length_t offset2, const f_array_length_t stop1, const f_array_length_t stop2) F_attribute_visibility_internal_d; -#endif // !defined(_di_fl_utfl_string_compare_) || !defined(_di_fl_utfl_string_dynamic_compare_) || !defined(_di_fl_utfl_string_dynamic_partial_compare_) +#endif // !defined(_di_fl_utf_string_compare_) || !defined(_di_fl_utf_string_dynamic_compare_) || !defined(_di_fl_utf_string_dynamic_partial_compare_) /** * Private implementation of fl_utf_string_compare_trim(). diff --git a/level_3/byte_dump/data/build/fakefile b/level_3/byte_dump/data/build/fakefile index 5086c113a..6b0bdff38 100644 --- a/level_3/byte_dump/data/build/fakefile +++ b/level_3/byte_dump/data/build/fakefile @@ -2,7 +2,7 @@ settings: fail exit - modes individual level monolithic clang test + modes individual level monolithic clang test fanalyzer 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 diff --git a/level_3/control/data/build/fakefile b/level_3/control/data/build/fakefile index 97815ecd5..e1e3df52b 100644 --- a/level_3/control/data/build/fakefile +++ b/level_3/control/data/build/fakefile @@ -2,7 +2,7 @@ settings: fail exit - modes individual level monolithic clang test + modes individual level monolithic clang test fanalyzer 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 diff --git a/level_3/controller/data/build/dependencies b/level_3/controller/data/build/dependencies index 2b3114f0a..3e6414ed5 100644 --- a/level_3/controller/data/build/dependencies +++ b/level_3/controller/data/build/dependencies @@ -18,6 +18,7 @@ f_execute f_file f_fss f_iki +f_limit f_path f_pipe f_print @@ -28,6 +29,7 @@ f_thread fl_control_group fl_conversion +fl_directory fl_environment fl_fss fl_iki diff --git a/level_3/controller/data/build/fakefile b/level_3/controller/data/build/fakefile index 943b151b4..39daf1004 100644 --- a/level_3/controller/data/build/fakefile +++ b/level_3/controller/data/build/fakefile @@ -2,7 +2,7 @@ settings: fail exit - modes individual level monolithic clang test + modes individual level monolithic clang test fanalyzer as_init 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 diff --git a/level_3/fake/data/build/fakefile b/level_3/fake/data/build/fakefile index 7507b7cde..55b247bf5 100644 --- a/level_3/fake/data/build/fakefile +++ b/level_3/fake/data/build/fakefile @@ -2,7 +2,7 @@ settings: fail exit - modes individual level monolithic clang test + modes individual level monolithic clang test fanalyzer 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 diff --git a/level_3/firewall/data/build/fakefile b/level_3/firewall/data/build/fakefile index 97e495016..04f861d18 100644 --- a/level_3/firewall/data/build/fakefile +++ b/level_3/firewall/data/build/fakefile @@ -2,7 +2,7 @@ settings: fail exit - modes individual level monolithic clang test + modes individual level monolithic clang test fanalyzer 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 diff --git a/level_3/fss_basic_list_read/data/build/fakefile b/level_3/fss_basic_list_read/data/build/fakefile index ce59a0abd..4e08fb5a3 100644 --- a/level_3/fss_basic_list_read/data/build/fakefile +++ b/level_3/fss_basic_list_read/data/build/fakefile @@ -2,7 +2,7 @@ settings: fail exit - modes individual level monolithic clang test + modes individual level monolithic clang test fanalyzer 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 diff --git a/level_3/fss_basic_read/data/build/fakefile b/level_3/fss_basic_read/data/build/fakefile index 3bd3c080f..ecd42337f 100644 --- a/level_3/fss_basic_read/data/build/fakefile +++ b/level_3/fss_basic_read/data/build/fakefile @@ -2,7 +2,7 @@ settings: fail exit - modes individual level monolithic clang test + modes individual level monolithic clang test fanalyzer 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 diff --git a/level_3/fss_embedded_list_read/data/build/fakefile b/level_3/fss_embedded_list_read/data/build/fakefile index 4ad0b791e..29f85b6be 100644 --- a/level_3/fss_embedded_list_read/data/build/fakefile +++ b/level_3/fss_embedded_list_read/data/build/fakefile @@ -2,7 +2,7 @@ settings: fail exit - modes individual level monolithic clang test + modes individual level monolithic clang test fanalyzer 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 diff --git a/level_3/fss_extended_list_read/data/build/fakefile b/level_3/fss_extended_list_read/data/build/fakefile index 0e4053594..75c2755dc 100644 --- a/level_3/fss_extended_list_read/data/build/fakefile +++ b/level_3/fss_extended_list_read/data/build/fakefile @@ -2,7 +2,7 @@ settings: fail exit - modes individual level monolithic clang test + modes individual level monolithic clang test fanalyzer 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 diff --git a/level_3/fss_extended_read/data/build/fakefile b/level_3/fss_extended_read/data/build/fakefile index b1829a900..cf0771260 100644 --- a/level_3/fss_extended_read/data/build/fakefile +++ b/level_3/fss_extended_read/data/build/fakefile @@ -2,7 +2,7 @@ settings: fail exit - modes individual level monolithic clang test + modes individual level monolithic clang test fanalyzer 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 diff --git a/level_3/fss_identify/data/build/fakefile b/level_3/fss_identify/data/build/fakefile index 85f637069..5987174f1 100644 --- a/level_3/fss_identify/data/build/fakefile +++ b/level_3/fss_identify/data/build/fakefile @@ -2,7 +2,7 @@ settings: fail exit - modes individual level monolithic clang test + modes individual level monolithic clang test fanalyzer 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 diff --git a/level_3/fss_payload_read/data/build/fakefile b/level_3/fss_payload_read/data/build/fakefile index 35890c5b5..31098d1ba 100644 --- a/level_3/fss_payload_read/data/build/fakefile +++ b/level_3/fss_payload_read/data/build/fakefile @@ -2,7 +2,7 @@ settings: fail exit - modes individual level monolithic clang test + modes individual level monolithic clang test fanalyzer 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 diff --git a/level_3/iki_read/data/build/fakefile b/level_3/iki_read/data/build/fakefile index 52ae617a4..c13c1414f 100644 --- a/level_3/iki_read/data/build/fakefile +++ b/level_3/iki_read/data/build/fakefile @@ -2,7 +2,7 @@ settings: fail exit - modes individual level monolithic clang test + modes individual level monolithic clang test fanalyzer 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 diff --git a/level_3/iki_write/data/build/fakefile b/level_3/iki_write/data/build/fakefile index 27415290e..a0bcc8374 100644 --- a/level_3/iki_write/data/build/fakefile +++ b/level_3/iki_write/data/build/fakefile @@ -2,7 +2,7 @@ settings: fail exit - modes individual level monolithic clang test + modes individual level monolithic clang test fanalyzer 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 diff --git a/level_3/status_code/data/build/fakefile b/level_3/status_code/data/build/fakefile index 6d1ef0b17..77a2deb3d 100644 --- a/level_3/status_code/data/build/fakefile +++ b/level_3/status_code/data/build/fakefile @@ -2,7 +2,7 @@ settings: fail exit - modes individual level monolithic clang test + modes individual level monolithic clang test fanalyzer 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 diff --git a/level_3/utf8/data/build/fakefile b/level_3/utf8/data/build/fakefile index 18e9b586a..0bc307bea 100644 --- a/level_3/utf8/data/build/fakefile +++ b/level_3/utf8/data/build/fakefile @@ -2,7 +2,7 @@ settings: fail exit - modes individual level monolithic clang test + modes individual level monolithic clang test fanalyzer 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 -- 2.47.3