]> Kevux Git Server - fll/commitdiff
Bugfix: Featureless Make is not operating properly due to failure to clear cache.
authorKevin Day <kevin@kevux.org>
Mon, 19 Jun 2023 03:04:00 +0000 (22:04 -0500)
committerKevin Day <kevin@kevux.org>
Mon, 19 Jun 2023 03:04:00 +0000 (22:04 -0500)
Handle some cases where the cache is not being cleared.

level_3/fake/c/main/build/object.c

index b374e74842d55c77c6f23b64cdcd856a2eaa75e3..d81ba038d2e27f401ce1af0967e102aac39e699d 100644 (file)
@@ -40,6 +40,8 @@ extern "C" {
       return 0;
     }
 
+    fake_string_dynamic_reset(&main->cache_argument);
+
     {
       main->setting.state.status = f_string_dynamic_append_nulless(data->path_build_objects_shared, &main->cache_argument);
 
@@ -114,6 +116,8 @@ extern "C" {
       return 0;
     }
 
+    fake_string_dynamic_reset(&main->cache_argument);
+
     {
       main->setting.state.status = f_string_dynamic_append_nulless(data->path_build_objects_static, &main->cache_argument);