On Tue, 2015-06-16 at 14:17 +0200, Mark Wielaard wrote:
Even simpler is to always just (also) call ftruncate to set the
right
file size. Which is what the attached patch does. It also includes some
test cases to check in-place-eu-strip actually reduces the file size.
I'll update the elfutils fedora package so there is a fix right now. But
unless people complain I would like to just make a 0.163 release end of
the week with this fix and any other urgent fixes because I think this
is a somewhat bad regression and we should urge people to not just
patch, but to upgrade to a known good version.
The patch seems to have survived a fedora mass-rebuild with the intended
effect. I have pushed it to master now.
I go over the pending bug fixes and then I'll start preparing the
bug-fix 0.163 release.
Cheers,
Mark