[pacman-dev] [PATCH] libalpm/package.c : fix infolevel bug in pkg_dup

Nagy Gabor ngaba at bibl.u-szeged.hu
Fri Jul 25 04:08:18 EDT 2008


> The pkg_dup function shouldn't call any alpm_pkg_get_ accessors
> because this can fill the old package with all INFRQ_DESC fields for
> example, and this won't necessarily be reproduced in the new package
> (for all the fields that were copied before).
> 
> Signed-off-by: Xavier Chantry <shiningxc at gmail.com>

Good catch.





More information about the pacman-dev mailing list