]> Kevux Git Server - fll/commitdiff
Feature: Add missing file type unknown string.
authorKevin Day <Kevin@kevux.org>
Sat, 22 Mar 2025 03:10:16 +0000 (22:10 -0500)
committerKevin Day <Kevin@kevux.org>
Sat, 22 Mar 2025 03:10:16 +0000 (22:10 -0500)
The string for unknown file type should be supported for consistency reasons.

build/disable/level_0/f_file.h
build/stand_alone/byte_dump.config.h
build/stand_alone/example.config.h
build/stand_alone/fake.config.h
build/stand_alone/firewall.config.h
build/stand_alone/utf8.config.h
level_0/f_file/c/file/common.c
level_0/f_file/c/file/common.h

index 70b7140ef5b95edd421c65adc432394b42d5816e..2c7671a4b80789d79e0bddfaf80934afc4465bbf 100644 (file)
 #define _di_f_file_type_name_link_s_
 #define _di_f_file_type_name_regular_s_
 #define _di_f_file_type_name_socket_s_
+#define _di_f_file_type_name_unknown_s_
 #define _di_f_file_type_s_
 #define _di_f_file_umask_get_
 #define _di_f_file_umask_set_
index 82f3bbd8e2eb87e2caca2456fc61bb6b2d1fb561..09ed22bdf2a771387ff084d9b8ccfc483bd654e9 100644 (file)
 #define _di_f_file_type_name_link_s_
 #define _di_f_file_type_name_regular_s_
 #define _di_f_file_type_name_socket_s_
+#define _di_f_file_type_name_unknown_s_
 #define _di_f_file_type_s_
 //#define _di_f_file_umask_get_
 #define _di_f_file_umask_set_
index 1d58f19f55e516b19ef0ff792e16d9ae4862d863..d8f888b7b40f2c91eaa0ac78db82c3601f872015 100644 (file)
 #define _di_f_file_type_name_link_s_
 #define _di_f_file_type_name_regular_s_
 #define _di_f_file_type_name_socket_s_
+#define _di_f_file_type_name_unknown_s_
 #define _di_f_file_type_s_
 //#define _di_f_file_umask_get_
 #define _di_f_file_umask_set_
index d1fd31d9a376ee515e3b79bc870fd8fd062df7a6..0e49a5beac49afa23a4922d98315e745e76c8801 100644 (file)
 //#define _di_f_file_type_name_link_s_
 //#define _di_f_file_type_name_regular_s_
 //#define _di_f_file_type_name_socket_s_
+#define _di_f_file_type_name_unknown_s_
 //#define _di_f_file_type_s_
 //#define _di_f_file_umask_get_
 #define _di_f_file_umask_set_
index 2ad5eb2997b5ff7d4dda3604670beb73d2298457..864994d2d5b76c62098b029172309f6838fb4507 100644 (file)
 #define _di_f_file_type_name_link_s_
 #define _di_f_file_type_name_regular_s_
 #define _di_f_file_type_name_socket_s_
+#define _di_f_file_type_name_unknown_s_
 #define _di_f_file_type_s_
 //#define _di_f_file_umask_get_
 #define _di_f_file_umask_set_
index 279527a99e8156f6146ef87b89ff245df3b44c9d..05589b619dcfbb5a01f981913e5ceefd9e08d21a 100644 (file)
 #define _di_f_file_type_name_link_s_
 #define _di_f_file_type_name_regular_s_
 #define _di_f_file_type_name_socket_s_
+#define _di_f_file_type_name_unknown_s_
 #define _di_f_file_type_s_
 //#define _di_f_file_umask_get_
 #define _di_f_file_umask_set_
index e9df7ae837376b6c21ff4cde18e30baa57987e66..f30c0a0b110734cbf9b9783c265ac3b22c6f3653 100644 (file)
@@ -36,6 +36,10 @@ extern "C" {
   #ifndef _di_f_file_type_name_socket_s_
     const f_string_static_t f_file_type_name_socket_s = macro_f_string_static_t_initialize_1(F_file_type_name_socket_s, 0, F_file_type_name_socket_s_length);
   #endif // _di_f_file_type_name_socket_s_
+
+  #ifndef _di_f_file_type_name_unknown_s_
+    const f_string_static_t f_file_type_name_unknown_s = macro_f_string_static_t_initialize_1(F_file_type_name_unknown_s, 0, F_file_type_name_unknown_s_length);
+  #endif // _di_f_file_type_name_unknown_s_
 #endif // _di_f_file_type_s_
 
 #ifndef _di_f_file_open_mode_s_
index b38d0945c0f9adce52e75e328890ff524f275cd9..379193134ca990a3315b055b7aaa642f511d8231 100644 (file)
@@ -101,6 +101,7 @@ extern "C" {
  *  - link:      A string representing the link file type.
  *  - regular:   A string representing the regular file type.
  *  - socket:    A string representing the socket file type.
+ *  - unknown:   A string representing an unknown file type.
  */
 #ifndef _di_f_file_type_s_
   #define F_file_type_name_block_s     "block"
@@ -111,6 +112,7 @@ extern "C" {
   #define F_file_type_name_link_s      "link"
   #define F_file_type_name_regular_s   "regular"
   #define F_file_type_name_socket_s    "socket"
+  #define F_file_type_name_unknown_s   "unknown"
 
   #define F_file_type_name_block_s_length     5
   #define F_file_type_name_character_s_length 9
@@ -120,6 +122,7 @@ extern "C" {
   #define F_file_type_name_link_s_length      4
   #define F_file_type_name_regular_s_length   7
   #define F_file_type_name_socket_s_length    6
+  #define F_file_type_name_unknown_s_length   7
 
   #ifndef _di_f_file_type_name_block_s_
     extern const f_string_static_t f_file_type_name_block_s;
@@ -152,6 +155,10 @@ extern "C" {
   #ifndef _di_f_file_type_name_socket_s_
     extern const f_string_static_t f_file_type_name_socket_s;
   #endif // _di_f_file_type_name_socket_s_
+
+  #ifndef _di_f_file_type_name_unknown_s_
+    extern const f_string_static_t f_file_type_name_unknown_s;
+  #endif // _di_f_file_type_name_unknown_s_
 #endif // _di_f_file_type_s_
 
 /**