[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#710472: nvi :file command gives nonsensical percentages

2013/5/31 Paul Vojta <vojta@math.berkeley.edu>:
> Package: nvi
> Version: 1.81.6-10
> Severity: minor
> Dear Maintainer,
> The :file command (also ^G) often gives nonsensical percentages in its output.
> For example (while editing this bug report):
> /tmp/mutt-xps-1000-8668-306287981309926837: modified: line 8 of 32
> [140733193388057%]
> (It sometimes does give the right percentage, though.)

I can confirm that. And it seems to be a regression from the wheezy version.
Since I didn't change the source code in any way, I played around with the
compiler flags. Disabling _FORTIFY_SOURCE seems to "fix" it, although
I have no idea why.

Frank Lichtenheld <djpig@debian.org>

Reply to: