]> Kevux Git Server - fll/commit
Bugfix: Featueless Make array cache is being reset incorrectly in some cases.
authorKevin Day <Kevin@kevux.org>
Thu, 8 May 2025 23:46:36 +0000 (18:46 -0500)
committerKevin Day <Kevin@kevux.org>
Thu, 8 May 2025 23:46:36 +0000 (18:46 -0500)
commitc502691cff10d3c7b7213ad5b2efaa238670931d
tree4bb86b32edb8d0796e852f4b9583a68c9b332ea6
parent23345767669c7eea605a30e703258e9dfee156e7
Bugfix: Featueless Make array cache is being reset incorrectly in some cases.

The functions `fake_build_library_static_object()` and `fake_build_object()` are appending compiler arguments to the arguments cache.
Before this cache gets used, a for loop resets the cache and starts appending to the cache.
The initial data loaded into the cache gets lost without ever being used.
level_3/fake/c/main/build/library.c
level_3/fake/c/main/build/object.c
level_3/fake/c/main/common.c
level_3/fake/c/main/common.h