In message <6o4n25nn-978-835q-7pns-s0op23948...@fncre.vasb>, Marcin Cieslak wri tes: > --2201072851-106424636-1644734280=:909 > Content-Type: text/plain; charset=US-ASCII; format=flowed > > On Sat, 12 Feb 2022, Cy Schubert wrote: > > > To add another thought. I was toying with the idea of replacing all > > malloc() with calloc() in dtinfo or at the very least replacing it in > > dtinfogen. The difference between malloc() and calloc() is the latter zero > > fills memory. A calloc(1, size_t) is the same as malloc(size_t). The "1" > > means allocate one instance of the second argument. Long term this is > > probably a better solution than the make environment hack. I put it here > > because after receiving an email from another FreeBSD developer just > > moments ago I'm more convinced this is the path forward. > > Thanks for tracking this down, Cy! > > I was wondering what the underlying problem might be - > this is probably part of the code that relies on that thing > to be initialized.... Did anyone tried valgrind on CDE?
I haven't tried it. It's on the todo list now. -- Cheers, Cy Schubert <cy.schub...@cschubert.com> FreeBSD UNIX: <c...@freebsd.org> Web: https://FreeBSD.org NTP: <c...@nwtime.org> Web: https://nwtime.org The need of the many outweighs the greed of the few. _______________________________________________ cdesktopenv-devel mailing list cdesktopenv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel