diff options
author | Allan McRae <allan@archlinux.org> | 2014-01-01 10:44:00 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-01-06 05:38:49 +0100 |
commit | 77268f352f2b3f4503be3748e0599822390902ae (patch) | |
tree | b68437a2909f328a1f0ca379b7d065cfbab4c2ac /lib/libalpm/package.c | |
parent | 7fa35f32d8526e77c3e2ef075bc2aa353a9fafe3 (diff) | |
download | pacman-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/libalpm/package.c')
-rw-r--r-- | lib/libalpm/package.c | 1 |
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); |