Hi all, This series of patches has already been sent a few months ago by David Lamparter. I updated the patch to the latest quagga upstream, resent it. I also fixed some last issues related to previous post containing ( CI Testresult: FAILED (Re: [quagga-dev,16068,10/10] build: goodbye, gawk).
This patchset replaces the 1990s-era memory allocation tracking with a 2010s-era memory allocation tracking. Particularly, it removes the neccessity to maintain a centralised list of MTYPEs the fly, with per-file static scope even. The patchset is a drop-in rewrite that does _not_ require changes to the code making use of the allocators. There are new foo_memory.[ch] files in each daemon managing the MTYPEs. To bring this to "perfection", the definitions from these files should wander into the individual files using them. I did that only for lib/, the remainder is left as an exercise to the reader ;) (Truthfully I didn't want to touch every single file in tree.) Best Regards, Philippe _______________________________________________ Quagga-dev mailing list [email protected] https://lists.quagga.net/mailman/listinfo/quagga-dev
