]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
don't free 3.2 T on update
authorStephan Kulow <coolo@suse.de>
Sun, 24 Feb 2008 15:30:56 +0000 (15:30 +0000)
committerStephan Kulow <coolo@suse.de>
Sun, 24 Feb 2008 15:30:56 +0000 (15:30 +0000)
tools/repo_rpmdb.c

index 67c36cb10b865578efacf750f545a00663d1debd..8b50970cc5c22e5af48e3c11e3b1ab5fb906dcc9 100644 (file)
@@ -691,7 +691,7 @@ rpm2solv(Pool *pool, Repo *repo, Repodata *repodata, Solvable *s, RpmHead *rpmhe
         repodata_set_num(repodata, entry, id_time, u32);
       u32 = headint32(rpmhead, TAG_SIZE);
       if (u32)
-        repodata_set_num(repodata, entry, id_installsize, u32);
+        repodata_set_num(repodata, entry, id_installsize, (u32 + 1023) / 1024);
 
     }
   return 1;