summaryrefslogtreecommitdiff
path: root/install.c
diff options
context:
space:
mode:
authorewt <devnull@localhost>1997-04-09 15:53:22 +0000
committerewt <devnull@localhost>1997-04-09 15:53:22 +0000
commit5b1d41cb33f297b6adc319fe1936ffeeded10cb6 (patch)
tree3e9281d7b232da239e73d0b0dab55d5f47f47694 /install.c
parent899033811a6920a8d9e7aa97a1e334b1ec64541d (diff)
downloadlibrpm-tizen-5b1d41cb33f297b6adc319fe1936ffeeded10cb6.tar.gz
librpm-tizen-5b1d41cb33f297b6adc319fe1936ffeeded10cb6.tar.bz2
librpm-tizen-5b1d41cb33f297b6adc319fe1936ffeeded10cb6.zip
changes for --removeall (or wahtever that caused) broke some things
CVS patchset: 1525 CVS date: 1997/04/09 15:53:22
Diffstat (limited to 'install.c')
-rw-r--r--install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.c b/install.c
index 5133f3f82..7e092703f 100644
--- a/install.c
+++ b/install.c
@@ -328,7 +328,7 @@ int doUninstall(char * rootdir, char ** argv, int uninstallFlags,
numFailed++;
}
else {
- numPackages += matches.count;
+ numPackages += count;
if (numPackages > packageOffsetsAlloced) {
packageOffsetsAlloced = numPackages + 5;
packageOffsets = realloc(packageOffsets,