seq: improve quality of format-checking code
commit2bf151cd937dd44f00bc7249d5d8d95e9a34f207
authorPaul Eggert <eggert@CS.UCLA.EDU>
Sun, 26 Oct 2008 07:45:18 +0000 (26 00:45 -0700)
committerJim Meyering <meyering@redhat.com>
Sun, 26 Oct 2008 08:51:33 +0000 (26 09:51 +0100)
treeac51409f8525344548b2b3bbae71856bf8b9722b
parent153477479abd5b4dfda5feb109e3ebf28a578bad
seq: improve quality of format-checking code

* src/seq.c (validate_format): Remove. Migrate its checks into...
(long_double_format): Report an error and exit if an error is found,
instead of returning NULL.  All callers changed.
Use a more-consistent format for diagnostics.
* tests/misc/seq: Adjust to the more-consistent format for diagnostics.
src/seq.c
tests/misc/seq