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:

-- 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 --

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
Rpm-maint mailing list

Reply via email to