Re: [Rpm-maint] [rpm-software-management/rpm] Improve hardlink handling in the disk space calculation (#394)

2018-02-19 Thread Panu Matilainen
Thanks for the fixes!

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/394#issuecomment-31550___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Improve hardlink handling in the disk space calculation (#394)

2018-02-19 Thread Panu Matilainen
Merged #394.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/394#event-1480356200___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


[Rpm-maint] [rpm-software-management/rpm] Improve hardlink handling in the disk space calculation (#394)

2018-02-14 Thread Michael Schroeder
Before this commit, rpm simply did not take hardlinks into account when 
calculating disk space requirements. This made it fail spectaculary for 
packages that contain a high number of hardlinks, like glibc-locale.

We now "bind" the file size to the last hardlink member. This is still not 100% 
correct as the last file may not get installed in some cases or only the last 
file may be replaced. But it is still much better than what rpm did before.

You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/394

-- Commit Summary --

  * Fix inode handling for zero-sized files
  * Improve hardlink handling in the disk space calculation

-- File Changes --

M lib/rpmfiles.h (2)
M lib/transaction.c (32)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/394.patch
https://github.com/rpm-software-management/rpm/pull/394.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/394
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint