summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2012-09-14 14:21:03 +0100
committerPádraig Brady <P@draigBrady.com>2012-09-14 23:22:55 +0100
commit3786fb6de3918692675287953825ef623bcff9b6 (patch)
tree822d3b28b1937a3756bf22395590dc06c41bc678 /tests
parentcb5ff9de6cab8ecc7363b89b34e774e0d5e89abf (diff)
downloadcoreutils-3786fb6de3918692675287953825ef623bcff9b6.tar.xz
seq: enable the fast integer printing code in more cases
* src/seq.c (main): Adjust the initial arbitrary precision seq_fast enablement checks to be more maintainable, and a little more general, by allowing single character separators to use seq_fast. Also check again after the number arguments are processed, to see if we can still use seq_fast, which while not allowing arbitarly large integers, it will handle integers of the form 10E10 etc. (seq_fast): Use a specified separator character, rather than hardcoding '\n'.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions