[pacman-dev] [PATCH 2/5] libalpm: remove from_md5 and to_md5 from pmdelta_t

Dan McGee dpmcgee at gmail.com
Sat Feb 28 16:31:03 EST 2009


On Wed, Feb 25, 2009 at 12:43 PM, Xavier Chantry <shiningxc at gmail.com> wrote:
> The from_md5 and to_md5 fields were a nice extra safety, which would avoid
> trying to apply deltas on corrupted package files. However, they are not
> strictly necessary, since xdelta should be able to detect that on its own.
>
> The main problem is that it is impossible to compute these informations from
> the delta only. So repo-add would not be able to compute the delta entry
> based on just the delta file.
>
> Signed-off-by: Xavier Chantry <shiningxc at gmail.com>
Signed-off-by: Dan McGee <dan at archlinux.org>


More information about the pacman-dev mailing list