seq: Fix equal width calculation when '.' added to last number
commit5d0b158f4c7b7fa506a9accec511209f68890982
authorPádraig Brady <P@draigBrady.com>
Sat, 14 Feb 2009 17:20:37 +0000 (14 17:20 +0000)
committerPádraig Brady <P@draigBrady.com>
Sat, 14 Feb 2009 23:47:14 +0000 (14 23:47 +0000)
tree18f9b22e63228e61a8f4187733afd28b535858a0
parent982504452d60a87632a5a2f11d1be645e06d8346
seq: Fix equal width calculation when '.' added to last number

Issue reported by Samuel Hapák.
<http://lists.gnu.org/archive/html/bug-coreutils/2009-02/msg00139.html>

* src/seq.c: Account for '.' added to "last" number.
* tests/misc/seq: Add corresponding test.
* NEWS: Mention the fix.
NEWS
src/seq.c
tests/misc/seq