]> Kevux Git Server - fll/commitdiff
Bugfix: Fix problems exposed by unit tests.
authorKevin Day <thekevinday@gmail.com>
Sun, 15 May 2022 05:09:03 +0000 (00:09 -0500)
committerKevin Day <thekevinday@gmail.com>
Sun, 15 May 2022 05:09:03 +0000 (00:09 -0500)
level_2/fll_status_string/c/status_string.c

index bef7bad78dfd01ec352e9729a434d7b2c4ac2822..69b6a003ede4d1827645833136da47f4eb3821cc 100644 (file)
@@ -1944,6 +1944,18 @@ extern "C" {
         return F_none;
       }
 
+      if (fl_string_dynamic_compare(name, f_status_terminate_s) == F_equal_to) {
+        *code = F_terminate;
+
+        return F_none;
+      }
+
+      if (fl_string_dynamic_compare(name, f_status_terminate_not_s) == F_equal_to) {
+        *code = F_terminate_not;
+
+        return F_none;
+      }
+
       if (fl_string_dynamic_compare(name, f_status_thread_s) == F_equal_to) {
         *code = F_thread;
 
@@ -3014,6 +3026,12 @@ extern "C" {
         return F_none;
       }
 
+      if (fl_string_dynamic_compare(name, f_status_file_type_fifo_s) == F_equal_to) {
+        *code = F_file_type_fifo;
+
+        return F_none;
+      }
+
       if (fl_string_dynamic_compare(name, f_status_file_type_link_s) == F_equal_to) {
         *code = F_file_type_link;
 
@@ -3432,20 +3450,38 @@ extern "C" {
         return F_none;
       }
 
+      if (fl_string_dynamic_compare(name, f_status_access_granted_group_s) == F_equal_to) {
+        *code = F_access_granted_group;
+
+        return F_none;
+      }
+
+      if (fl_string_dynamic_compare(name, f_status_access_granted_read_s) == F_equal_to) {
+        *code = F_access_granted_read;
+
+        return F_none;
+      }
+
       if (fl_string_dynamic_compare(name, f_status_access_granted_super_s) == F_equal_to) {
         *code = F_access_granted_super;
 
         return F_none;
       }
 
+      if (fl_string_dynamic_compare(name, f_status_access_granted_user_s) == F_equal_to) {
+        *code = F_access_granted_user;
+
+        return F_none;
+      }
+
       if (fl_string_dynamic_compare(name, f_status_access_group_s) == F_equal_to) {
-        *code = F_access_mode;
+        *code = F_access_group;
 
         return F_none;
       }
 
       if (fl_string_dynamic_compare(name, f_status_access_mode_s) == F_equal_to) {
-        *code = F_access_group;
+        *code = F_access_mode;
 
         return F_none;
       }