how do you know 'free' freed?
Charles Marslett
chasm at attctc.Dallas.TX.US
Wed Oct 18 23:21:31 AEST 1989
In article <11313 at smoke.BRL.MIL>, gwyn at smoke.BRL.MIL (Doug Gwyn) writes:
.. In article <1175 at svx.SV.DG.COM> gary at svx.SV.DG.COM () writes:
.. >The correct answer is "malloc/free is somewhat broken in Sunos 4.0.1-3".
.. >This has been mentioned before, in a Feb. Sun Spots article - here it is...
..
.. That sounds more like a "buddy system" allocator working normally.
If so, it also sounds like an excellent reason to disallow "buddy system"
allocators.
The purpose of malloc/calloc/et al. is to keep us from worrying about this
stuff -- if the allocator throws us traps, it better be easily bypassed.
Charles
===============================================================================
"Those who would sacrifice ** Charles Marslett
liberty for security, ** STB Systems, Inc. <-- apply all std. disclaimers
deserve neither." ** Wordmark Systems <-- that's just me
-- Benjamin Franklin ** chasm\@attctc.dallas.tx.us
-------------------------------------------------------------------------------
More information about the Comp.lang.c
mailing list