RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Remapping lib/rpmal.c to use a backing store.

From: Alexey Tourbin <at@altlinux.ru>
Date: Mon 10 Nov 2008 - 19:10:41 CET
Message-ID: <20081110181041.GH20369@altlinux.org>
On Mon, Nov 10, 2008 at 12:38:32PM -0500, Jeff Johnson wrote:
> Here's details of the hystory of rpmal.c and what I think needs to
> be done instead.
> 
> RPM started life as the engine for the Red Hat installer. The
> malloc() in libc.so.5 was buggy, so the entire index was designed
> as a huge array w/o ptrs, to simplify debugging and avoid memory
> fragmentation.

Frankly I don't quite understand what the "al" thing is, except that
"al" is used to reorder pacakges in rpmtsOder().  To me, al is just
a list of headers with TR_ADDED/TR_REMOVED flags attached to them.


  • application/pgp-signature attachment: stored
Received on Mon Nov 10 19:10:42 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.