On Wed, 6 Jun 2001, Greg Stein wrote: > Euh... to be clear, this isn't related to the MMAP buckets, right? You're > talking about the MMAP interface. > > I would agree: the offset seems rather bogus. Why not just return the > ptr/len of the mmap and let the user add to the pointer (as necessary). > > Oh, christ. Looking at the function, that is exactly what it does. A pointer > add. Let's toss the darn function. > > And while looking at apr_mmap.h: why is the structure public? Ack! That guy > should be private.
It was private. The problem is that the buckets really needed it to be public. The only really sane way to implement an MMAP, is as a void pointer and a length, but for some reason some platforms require more than that. Ryan _______________________________________________________________________________ Ryan Bloom [EMAIL PROTECTED] 406 29th St. San Francisco, CA 94131 -------------------------------------------------------------------------------
