index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Judd Vinet <judd@archlinux.org> | 2005-07-22 01:59:11 +0000 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2005-07-22 01:59:11 +0000 |
commit | a2192570fb187f4be900b24a880a85fd4dd125db (patch) | |
tree | 717a03b8fa84463fbbce7fc203ba803395756afc /lib/libalpm/package.c | |
parent | da79a410543205cbcf25cd2d1355cc3f8faab3f2 (diff) |
-rw-r--r-- | lib/libalpm/package.c | 2 |
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c index f5a3c33a..db6a8732 100644 --- a/lib/libalpm/package.c +++ b/lib/libalpm/package.c @@ -84,7 +84,6 @@ pmpkg_t *pkg_dup(pmpkg_t *pkg) STRNCPY(newpkg->version, pkg->version, PKG_VERSION_LEN); STRNCPY(newpkg->desc, pkg->desc, PKG_DESC_LEN); STRNCPY(newpkg->url, pkg->url, PKG_URL_LEN); - STRNCPY(newpkg->license, pkg->license, PKG_LICENSE_LEN); STRNCPY(newpkg->builddate, pkg->builddate, PKG_DATE_LEN); STRNCPY(newpkg->installdate, pkg->installdate, PKG_DATE_LEN); STRNCPY(newpkg->packager, pkg->packager, PKG_PACKAGER_LEN); @@ -94,6 +93,7 @@ pmpkg_t *pkg_dup(pmpkg_t *pkg) newpkg->force = pkg->force; newpkg->scriptlet = pkg->scriptlet; newpkg->reason = pkg->reason; + newpkg->license = _alpm_list_strdup(pkg->license); newpkg->requiredby = _alpm_list_strdup(pkg->requiredby); newpkg->conflicts = _alpm_list_strdup(pkg->conflicts); newpkg->files = _alpm_list_strdup(pkg->files); |