diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2005-10-08 21:32:14 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-10-08 21:32:14 +0000 |
commit | 05ab859eab8dbe14f1957d0a4e64b3f005630d45 (patch) | |
tree | ac53d2941e0f924384bb7986052baa858155a767 /lib/libalpm/add.c | |
parent | 0d6a2edaa8e39f9d7b77f0a023e8a2bfdab7a16d (diff) | |
download | pacman-05ab859eab8dbe14f1957d0a4e64b3f005630d45.tar.xz |
Reworked the cache handling to only load DEPENDS info by default
Diffstat (limited to 'lib/libalpm/add.c')
-rw-r--r-- | lib/libalpm/add.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c index 327b5407..6c6fc6b6 100644 --- a/lib/libalpm/add.c +++ b/lib/libalpm/add.c @@ -327,8 +327,6 @@ int add_commit(pmtrans_t *trans, pmdb_t *db) /* we'll need to save some record for backup checks later */ oldpkg = pkg_new(); if(oldpkg) { - STRNCPY(oldpkg->name, local->name, PKG_NAME_LEN); - STRNCPY(oldpkg->version, local->version, PKG_VERSION_LEN); if(!(local->infolevel & INFRQ_FILES)) { char name[(PKG_NAME_LEN-1)+1+(PKG_VERSION_LEN-1)+1]; snprintf(name, (PKG_NAME_LEN-1)+1+(PKG_VERSION_LEN-1)+1, "%s-%s", local->name, local->version); |