Small patch to reverse hardlink ordering
authorMichael Schroeder <mls@suse.de>
Thu, 3 May 2012 09:49:56 +0000 (11:49 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 4 May 2012 06:04:46 +0000 (09:04 +0300)
commitbb335292d30893eb88bdf47f166e254fa7abe37e
treed4b1ed8ea9499357842503b1f4709f0fe535e69c
parent58c5eb28d5f267313294486c6f8a7a6c84984d86
Small patch to reverse hardlink ordering

Hi Panu et al,

Here's a small patch that changes the ordering used for putting
hardlinked files into the cpio archive back to lexicographical.

You might wonder what this is about. Well, old rpm-3 (and
also old versions of rpm-4, I think) already used lexicographical
ordering for files and hardlinks. When deltarpm was created,
it made use of this fact when "compressing" the file order
of the cpio archive into the so-called "sequence". Deltarpm
can deal with "out of order" files, but in that case it needs
to reset the compression, which leads to really long sequence
strings.

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
lib/fsm.c