]> Kevux Git Server - fll/commitdiff
Bugfix: Text is being incorrectly stripped out.
authorKevin Day <thekevinday@gmail.com>
Sun, 17 Jul 2022 21:19:03 +0000 (16:19 -0500)
committerKevin Day <thekevinday@gmail.com>
Sun, 17 Jul 2022 21:19:03 +0000 (16:19 -0500)
Remove old code that is reset the used buffer when it should not be.

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

index 5070f261bc538def56ad878af4a2fe1ed9cc6881..3c3a309d9fa9f802fb6191910cb8b67bcaee4364 100644 (file)
@@ -366,7 +366,6 @@ extern "C" {
               unmatched = F_false;
             }
             else if (fl_string_dynamic_partial_compare_string(fake_make_parameter_variable_top_s.string, data_make->buffer, fake_make_parameter_variable_top_s.used, iki_data->content.array[j]) == F_equal_to) {
-              data_make->cache_arguments.array[data_make->cache_arguments.used].used = 0;
 
               if (data_make->path.stack.used) {
                 *status = f_string_dynamic_increase_by(data_make->path.stack.array[0].used + f_path_separator_s.used + 1, &data_make->cache_arguments.array[data_make->cache_arguments.used]);