]> git.ipfire.org Git - thirdparty/coreutils.git/commit
seq: ensure correct output width for scientific notation input
authorPádraig Brady <P@draigBrady.com>
Fri, 23 Nov 2012 03:06:07 +0000 (03:06 +0000)
committerPádraig Brady <P@draigBrady.com>
Sat, 24 Nov 2012 15:25:19 +0000 (15:25 +0000)
commit64d4a2807d46a85cfe5ab7eb99b3e91b9a75d5ab
treea6675c8ed665aba91591fd82029210b4fc18f7ce
parentce48a81bce089f703a12871f98ab1240c4c3554c
seq: ensure correct output width for scientific notation input

* src/seq.c (scan_arg): Calculate the width more accurately
for numbers specified using scientific notation.
* tests/misc/seq.pl: Add tests for cases that were mishandled.
* NEWS: Mention the fix.
* THANKS.in: Reported by Marcel Böhme.
Fixes http://bugs.gnu.org/12959
NEWS
THANKS.in
src/seq.c
tests/misc/seq.pl