]> Kevux Git Server - fll/commitdiff
Update: Call fake_make_operate_process_type_link().
authorKevin Day <thekevinday@gmail.com>
Sat, 23 Jul 2022 15:54:46 +0000 (10:54 -0500)
committerKevin Day <thekevinday@gmail.com>
Sat, 23 Jul 2022 15:54:46 +0000 (10:54 -0500)
This change was accidentally ommitted in the previous commit 854d08a0841b83e2010fed454c4f960c180ab5f3.

level_3/fake/c/private-make-operate_process.c

index 219c0f78ed148dd20e1dc74ebf285f05b3058295..f3ccc906102b2fa42ab4e2ab541d4121b2cb768c 100644 (file)
@@ -299,19 +299,7 @@ extern "C" {
     }
 
     if (state_process->operation == fake_make_operation_type_link_e) {
-      *status = f_file_link(data_make->cache_arguments.array[0], data_make->cache_arguments.array[1]);
-
-      if (F_status_is_error(*status)) {
-        fll_error_file_print(data_make->error, F_status_set_fine(*status), "f_file_link", F_true, data_make->cache_arguments.array[1], f_file_operation_link_s, fll_error_file_type_file_e);
-      }
-      else if (data_make->main->error.verbosity >= f_console_verbosity_verbose_e) {
-        flockfile(data_make->main->output.to.stream);
-
-        fl_print_format("Created symbolic link from '%[%Q%]", data_make->main->output.to.stream, data_make->main->context.set.notable, data_make->cache_arguments.array[1], data_make->main->context.set.notable);
-        fl_print_format("' to %[%Q%].%r", data_make->main->output.to.stream, data_make->main->context.set.notable, data_make->cache_arguments.array[0], data_make->main->context.set.notable, f_string_eol_s);
-
-        funlockfile(data_make->main->output.to.stream);
-      }
+      *status = fake_make_operate_process_type_link(data_make);
 
       return 0;
     }