]> Kevux Git Server - fll/commitdiff
Bugfix: Miscellaneous mistakes. 0.5.5
authorKevin Day <thekevinday@gmail.com>
Thu, 9 Sep 2021 01:26:00 +0000 (20:26 -0500)
committerKevin Day <thekevinday@gmail.com>
Thu, 9 Sep 2021 01:46:18 +0000 (20:46 -0500)
The fl_signal has the wrong project name, causing the fl_signal to be installed as fl_iki.

Fix comment in fll_print header file.

The byte_dump program needs to report file not found as an error.
Fix error message from missing bug in byte_dump.

Incorrect variable used in fss_basic_write (a copy and paste error).

Fix _libcap_legacy_only_ defines and apply the libcap and pthread defines more universally.

24 files changed:
build/level_0/settings
build/level_1/settings
level_1/fl_execute/data/build/settings
level_1/fl_signal/data/build/settings
level_2/fll_print/c/print.h
level_3/byte_dump/c/byte_dump.c
level_3/byte_dump/data/build/settings
level_3/control/data/build/settings
level_3/fss_basic_list_read/data/build/settings
level_3/fss_basic_list_write/data/build/settings
level_3/fss_basic_read/data/build/settings
level_3/fss_basic_write/c/fss_basic_write.c
level_3/fss_basic_write/data/build/settings
level_3/fss_embedded_list_read/data/build/settings
level_3/fss_embedded_list_write/data/build/settings
level_3/fss_extended_list_read/data/build/settings
level_3/fss_extended_list_write/data/build/settings
level_3/fss_extended_read/data/build/settings
level_3/fss_extended_write/data/build/settings
level_3/fss_identify/data/build/settings
level_3/fss_status_code/data/build/settings
level_3/iki_read/data/build/settings
level_3/iki_write/data/build/settings
level_3/status_code/data/build/settings

index 425634a88181baa6c7b238e9da5c42866e14a17d..f6e13d5abbd173cd3a0a84ea590b587545431bd1 100644 (file)
@@ -47,7 +47,7 @@ search_shared yes
 search_static yes
 
 #defines_all -D_di_libcap_
-defines_all -D_libcap_legacy_only -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
 defines_all-level
 defines_all-level_threadless -D_di_pthread_support_
 defines_static
index fc13651067e174bb7e73d03a7e1ba7ee1ff25f62..34a3c735032f168173477a6332dc9954ceba70b0 100644 (file)
@@ -47,7 +47,7 @@ search_shared yes
 search_static yes
 
 #defines_all -D_di_libcap_
-defines_all -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
 defines_all-level
 defines_all-level_threadless -D_di_pthread_support_
 defines_static
index 7a56d14c279781152f71fa085124d56cb191259a..1cb0f4b6ddda24eb71ee3be388b5988e90f1cabf 100644 (file)
@@ -46,7 +46,7 @@ search_shared yes
 search_static yes
 
 #defines_all -D_di_libcap_
-defines_all
+defines_all -D_libcap_legacy_only_
 defines_static
 defines_shared
 
index e2f04b894336219e6fb564297eb09288f562f2c1..7250059ff284fc0407b0dd0f07172a63a49f2e98 100644 (file)
@@ -1,6 +1,6 @@
 # fss-0001
 
-project_name fl_iki
+project_name fl_signal
 
 version_major 0
 version_minor 5
index 2ac136e0bd1d550a795ec56d47b7d4dc7237461b..a46b9944b65ef0cef591d04247b724ba7ff984fd 100644 (file)
@@ -1769,4 +1769,4 @@ extern "C" {
 } // extern "C"
 #endif
 
-#endif // _FLL_path_h
+#endif // _FLL_print_h
index fc7f7b9c8f6d25ff0a44c1bcef18b60daf9a4935..55dd926a072a117e075bada6608d911fa6fc71fa 100644 (file)
@@ -405,12 +405,16 @@ extern "C" {
 
             status = f_file_exists(arguments.argv[main->remaining.array[counter]]);
 
-            if (status == F_false || F_status_is_error(status)) {
+            if (status == F_false) {
+              status = F_status_set_error(F_file_found_not);
+            }
+
+            if (F_status_is_error(status)) {
               if (missing_files == F_none) {
                 missing_files = status;
               }
 
-              fll_error_file_print(main->error, F_status_set_fine(status), "f_file_exists", F_true, arguments.argv[main->remaining.array[counter]], "find", fll_error_file_type_file);
+              fll_error_file_print(main->error, F_status_set_fine(status), "f_file_exists", F_true, arguments.argv[main->remaining.array[counter]], "open", fll_error_file_type_file);
             }
           } // for
 
index 97015d7dc24b79405c8033cb38ff74af459121fb..9ada2187b80c9fee389314e555edae334a47708d 100644 (file)
@@ -47,7 +47,8 @@ search_exclusive yes
 search_shared yes
 search_static yes
 
-defines_all
+#defines_all -D_di_libcap_ -D_di_thread_support_
+defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
 defines_static
 defines_shared
 
index 53798cb18377c786b1d0824c9a7ff9730adeca9d..5789f963978ab1516eae297bbb793c4e0acc7273 100644 (file)
@@ -47,7 +47,8 @@ search_exclusive yes
 search_shared yes
 search_static yes
 
-defines_all -D_libcap_legacy_only_
+#defines_all -D_di_libcap_ -D_di_thread_support_
+defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
 defines_static
 defines_shared
 
index a7a16999c4ccbd56af2300c86bd89f28437d7c82..440545181510295f545123c62fba886836a8cb87 100644 (file)
@@ -47,7 +47,8 @@ search_exclusive yes
 search_shared yes
 search_static yes
 
-defines_all
+#defines_all -D_di_libcap_ -D_di_thread_support_
+defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
 defines_static
 defines_shared
 
index fc204f978bcadd4f14e93ff92cc175e988d12f9d..41c3a1126e117a57304023f9080647556e4bed7c 100644 (file)
@@ -47,7 +47,8 @@ search_exclusive yes
 search_shared yes
 search_static yes
 
-defines_all
+#defines_all -D_di_libcap_ -D_di_thread_support_
+defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
 defines_static
 defines_shared
 
index 941cf506e6b840f175586f639c28979ae9bd8836..74430a8d7415a2e86c9cb42ff26826375fcf2ddb 100644 (file)
@@ -47,7 +47,8 @@ search_exclusive yes
 search_shared yes
 search_static yes
 
-defines_all
+#defines_all -D_di_libcap_ -D_di_thread_support_
+defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
 defines_static
 defines_shared
 
index 03c089b0ee079938c91a245babd403d5f3ce3eb6..d0a684bde21f0ba37d70058b2e40882f81bef7e8 100644 (file)
@@ -44,7 +44,7 @@ extern "C" {
     fl_print_format(" or a Form Feed character '%[\\f%]' (%[U+000C%]).%c", output.stream, context.set.notable, context.set.notable, context.set.notable, context.set.notable, f_string_eol_s[0]);
     fl_print_format("  The end of the pipe represents the end of any Object or Content.%c%c", output.stream, f_string_eol_s[0], f_string_eol_s[0]);
 
-    fl_print_format("  The FSS-0000 (Basic) specification does not support multi-line Content, therefore the parameter '%[%s%s%]'", output.stream, context.set.notable, f_console_symbol_long_enable_s, fss_extended_write_long_prepend, context.set.notable);
+    fl_print_format("  The FSS-0000 (Basic) specification does not support multi-line Content, therefore the parameter '%[%s%s%]'", output.stream, context.set.notable, f_console_symbol_long_enable_s, fss_basic_write_long_prepend, context.set.notable);
     fl_print_format(" does nothing.%c%c", output.stream, f_string_eol_s[0], f_string_eol_s[0]);
 
     fl_print_format("  This program does not use the parameter '%[%s%s%]', which therefore does nothing.%c", output.stream, context.set.notable, f_console_symbol_long_enable_s, fss_basic_write_long_ignore, context.set.notable, f_string_eol_s[0]);
index a9feb7b889c5e06811e3c2c0b1803d507de72c74..8ec43b872b30e3723cdc864c9c0b97f7c2e70e7c 100644 (file)
@@ -47,7 +47,8 @@ search_exclusive yes
 search_shared yes
 search_static yes
 
-defines_all
+#defines_all -D_di_libcap_ -D_di_thread_support_
+defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
 defines_static
 defines_shared
 
index 27dfee378b238f9fe2ef2d52e6f81385a97da983..cdaeefc7d9ea27c27a60cdc52076e2994e5b48c9 100644 (file)
@@ -47,7 +47,8 @@ search_exclusive yes
 search_shared yes
 search_static yes
 
-defines_all
+#defines_all -D_di_libcap_ -D_di_thread_support_
+defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
 defines_static
 defines_shared
 
index 3efcee920133796caad650e511dcfc390f188a30..db51e701dac5cd63b166fcf2277dc04428aff2de 100644 (file)
@@ -47,7 +47,8 @@ search_exclusive yes
 search_shared yes
 search_static yes
 
-defines_all
+#defines_all -D_di_libcap_ -D_di_thread_support_
+defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
 defines_static
 defines_shared
 
index 3e60e1707325d71cff79f2251a843ffd365a8428..26332cda85d4edbba8f45f7b0fd7ed346ced685a 100644 (file)
@@ -47,7 +47,8 @@ search_exclusive yes
 search_shared yes
 search_static yes
 
-defines_all
+#defines_all -D_di_libcap_ -D_di_thread_support_
+defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
 defines_static
 defines_shared
 
index 43b4ee13cf20c1460610d7e0e490ec034550a0ca..cb893c9de0089240929ea046daf2e81859bb7870 100644 (file)
@@ -47,7 +47,8 @@ search_exclusive yes
 search_shared yes
 search_static yes
 
-defines_all
+#defines_all -D_di_libcap_ -D_di_thread_support_
+defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
 defines_static
 defines_shared
 
index aa250952ee92afc719c134cb5ae98303ac54400f..5f91368f08d2e39e3429d3b9e871ef2866f541d4 100644 (file)
@@ -47,7 +47,8 @@ search_exclusive yes
 search_shared yes
 search_static yes
 
-defines_all
+#defines_all -D_di_libcap_ -D_di_thread_support_
+defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
 defines_static
 defines_shared
 
index 2cb137528177a8de5f800af36a724c298bc2b2ce..1d0ebcc9a3223692d75c3e487e4d8fdfb37e8d06 100644 (file)
@@ -47,7 +47,8 @@ search_exclusive yes
 search_shared yes
 search_static yes
 
-defines_all
+#defines_all -D_di_libcap_ -D_di_thread_support_
+defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
 defines_static
 defines_shared
 
index 6c5ef3320ea2ba5a0f4582e9f95cc3b2bef363a1..8c25c3e083bdd256a45691f61f062d59772ef82e 100644 (file)
@@ -47,7 +47,8 @@ search_exclusive yes
 search_shared yes
 search_static yes
 
-defines_all
+#defines_all -D_di_libcap_ -D_di_thread_support_
+defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
 defines_static
 defines_shared
 
index 4ac98f24292ec1de75f551aaa2d43d24fc2463ff..7cbf71dbba55993510a747265e9aa9fdbee31bc3 100644 (file)
@@ -47,7 +47,8 @@ search_exclusive yes
 search_shared yes
 search_static yes
 
-defines_all
+#defines_all -D_di_libcap_ -D_di_thread_support_
+defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
 defines_static
 defines_shared
 
index dc3d889e711717a7abfb2940c67903b8199f4ef0..b59dff458962d3534f9541a5d91aa3454e65f6f9 100644 (file)
@@ -47,7 +47,8 @@ search_exclusive yes
 search_shared yes
 search_static yes
 
-defines_all
+#defines_all -D_di_libcap_ -D_di_thread_support_
+defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
 defines_static
 defines_shared
 
index 23ca09d09b03141f840e3f404d58fc406aa576de..6c5635862b50b12c259c7b2f32aa5c7e5814ac01 100644 (file)
@@ -47,7 +47,8 @@ search_exclusive yes
 search_shared yes
 search_static yes
 
-defines_all
+#defines_all -D_di_libcap_ -D_di_thread_support_
+defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
 defines_static
 defines_shared
 
index b5d63a5d67694dfd14c45029c97a7fe9d79b8143..e36a2fc549f9f079ed02a5a218c7b60b56148495 100644 (file)
@@ -47,7 +47,8 @@ search_exclusive yes
 search_shared yes
 search_static yes
 
-defines_all
+#defines_all -D_di_libcap_ -D_di_thread_support_
+defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
 defines_static
 defines_shared