changes for --removeall (or wahtever that caused) broke some things
authorewt <devnull@localhost>
Wed, 9 Apr 1997 15:53:22 +0000 (15:53 +0000)
committerewt <devnull@localhost>
Wed, 9 Apr 1997 15:53:22 +0000 (15:53 +0000)
CVS patchset: 1525
CVS date: 1997/04/09 15:53:22

install.c

index 5133f3f..7e09270 100644 (file)
--- 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,