[Tfug] Need help with a C++ algorithm
Felix Tilley
fetilley at earthlink.net
Thu Mar 15 21:52:30 MST 2007
>
> Message: 4
> Date: Thu, 15 Mar 2007 14:18:01 -0700
> From: Brian Murphy <murphy+tfug at email.arizona.edu>
> Subject: Re: [Tfug] Need help with a C++ algorithm
> To: tfug at tfug.org
> Message-ID: <20070315141801.0ruok444040c8c4c at www.email.arizona.edu>
> Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
>
> Quoting Jude Nelson <judecn at gmail.com>:
>> You're sure glibc's allocator doesn't have a method for
>> determining the size of an allocated block, given a pointer to it? I would
>> be very surprised if it didn't, because then how would free() work?
I cannot help here. But I seem to remember some old Linux text that
claimed malloc buffers had storage information near the pointer.
I just do not remember it.
More information about the tfug
mailing list