projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bda49fd
)
Remove ancient, no longer relevant comment
author
Panu Matilainen
<pmatilai@redhat.com>
Wed, 14 Nov 2012 08:54:38 +0000
(10:54 +0200)
committer
Panu Matilainen
<pmatilai@redhat.com>
Wed, 14 Nov 2012 10:38:12 +0000
(12:38 +0200)
- 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
)
lib/transaction.c
patch
|
blob
|
history
diff --git
a/lib/transaction.c
b/lib/transaction.c
index
13516eb
..
0564df3
100644
(file)
--- 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++;