summaryrefslogtreecommitdiff
path: root/lib/transaction.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2012-11-14 10:54:38 +0200
committerPanu Matilainen <pmatilai@redhat.com>2012-11-14 12:38:12 +0200
commit3827fb81517a96073be693cfb405d145304ff4a2 (patch)
tree395e891184f16cc893b9f778b00a930fbc2bd55b /lib/transaction.c
parentbda49fd7bdb4eaa1fa4d42c04efc28c7a0a78473 (diff)
downloadlibrpm-tizen-3827fb81517a96073be693cfb405d145304ff4a2.tar.gz
librpm-tizen-3827fb81517a96073be693cfb405d145304ff4a2.tar.bz2
librpm-tizen-3827fb81517a96073be693cfb405d145304ff4a2.zip
Remove ancient, no longer relevant comment
- Since commit f7f5f88f9f3d6587e747b034ccb64a3f00ff4e1e, only the first instance of shared files is created, the rest are FA_SKIP which consume no disk space and are not counted either. (cherry picked from commit f8da4f613680b4da4ee191f8b7451de9b36bfcbd)
Diffstat (limited to 'lib/transaction.c')
-rw-r--r--lib/transaction.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/transaction.c b/lib/transaction.c
index 13516eb01..0564df34c 100644
--- a/lib/transaction.c
+++ b/lib/transaction.c
@@ -203,11 +203,6 @@ static void rpmtsUpdateDSI(const rpmts ts, dev_t dev, const char *dirName,
dsi->bneeded += bneeded;
break;
- /*
- * FIXME: If two packages share a file (same md5sum), and
- * that file is being replaced on disk, will dsi->bneeded get
- * adjusted twice? Quite probably!
- */
case FA_CREATE:
dsi->bneeded += bneeded;
dsi->ineeded++;