Re: [Rpm-maint] Small patch to reverse hardlink ordering

2012-05-03 Thread Panu Matilainen
On 05/03/2012 12:49 PM, Michael Schroeder wrote: 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

Re: [Rpm-maint] Small patch to reverse hardlink ordering

2012-05-03 Thread Zdenek Pavlas
> @@ -494,8 +495,7 @@ static int saveHardLink(FSM_t fsm) > - fsm->li->next = fsm->links; > - fsm->links = fsm->li; > + *tailp = fsm->li; /* append to tail of linked list */ > } Missed fsm->li->next = NULL on first sight, but it's 15 lines up, and fsm->li calloc()ed anyway.

[Rpm-maint] Small patch to reverse hardlink ordering

2012-05-03 Thread Michael Schroeder
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 hardli