[Rpm-maint] Small patch to reverse hardlink ordering

Zdenek Pavlas zpavlas at redhat.com
Thu May 3 10:44:41 UTC 2012


> @@ -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.  ACK.


More information about the Rpm-maint mailing list