summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2014-01-01 10:44:00 +0100
committerAllan McRae <allan@archlinux.org>2014-01-06 05:38:49 +0100
commit77268f352f2b3f4503be3748e0599822390902ae (patch)
treeb68437a2909f328a1f0ca379b7d065cfbab4c2ac /lib
parent7fa35f32d8526e77c3e2ef075bc2aa353a9fafe3 (diff)
downloadpacman-77268f352f2b3f4503be3748e0599822390902ae.tar.gz
pacman-77268f352f2b3f4503be3748e0599822390902ae.tar.xz
Copy validation field in _alpm_pkg_dup
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/package.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c
index 1294f8ef..8e67f177 100644
--- a/lib/libalpm/package.c
+++ b/lib/libalpm/package.c
@@ -580,6 +580,7 @@ int _alpm_pkg_dup(alpm_pkg_t *pkg, alpm_pkg_t **new_ptr)
newpkg->isize = pkg->isize;
newpkg->scriptlet = pkg->scriptlet;
newpkg->reason = pkg->reason;
+ newpkg->validation = pkg->validation;
newpkg->licenses = alpm_list_strdup(pkg->licenses);
newpkg->replaces = list_depdup(pkg->replaces);