1. Shlomi Fish
  2. perl-File-Find-Object-Rule

Commits

shl...@52c325ad-5fd0-0310-8a0f-c43feede02cc  committed 2305b69

Got minifind to work.

  • Participants
  • Parent commits 6d06376
  • Branches default

Comments (0)

Files changed (1)

File libfilefind/c_glib_based/filefind.c

View file
     return;
 }
 
+static void file_finder_calc_default_actions(file_finder_t * self);
+
 int file_find_new(file_find_handle_t * * output_handle, const char * first_target)
 {
     file_finder_t * self = NULL;
 
     *output_handle = (file_find_handle_t *)self;
 
+    file_finder_calc_default_actions(self);
+
     return FILE_FIND_OK;
 
 cleanup:
             {
                 goto cleanup;
             }
-            else if (local_status == FILEFIND_STATUS_END)
+            else if (local_status == FILEFIND_STATUS_OK)
             {
-                total_status = FILEFIND_STATUS_OK;
+                total_status = FILEFIND_STATUS_END;
             }
-            else /* (local_status == FILEFIND_STATUS_OK) */
+            else /* (local_status == FILEFIND_STATUS_END) */
             {
                 total_status = file_finder_me_die(self);