Date: Sun, 23 May 1999 18:44:30 -0400 Message-Id: <199905232244.SAA12155@envy.delorie.com> From: DJ Delorie To: djgpp-workers AT delorie DOT com In-reply-to: <374498CD.C32D1A1C@cartsys.com> (message from Nate Eldredge on Thu, 20 May 1999 16:20:45 -0700) Subject: Re: Heap-Memory Function References: <199905202123 DOT RAA11152 AT mccoy2 DOT ECE DOT McGill DOT CA> <374498CD DOT C32D1A1C AT cartsys DOT com> Reply-To: djgpp-workers AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > It looks like the int at offset -1 indeed. Note that the low bit > appears to be used for something else; you should mask it to 0. Don't forget malloc() changed in 2.02! It could change at any time. Don't rely on just "knowing". If you need to peek inside malloc's data, include your own copy of malloc's sources (beware of GPL issues) that includes the extra function you need.