]> git.ipfire.org Git - thirdparty/coreutils.git/commit
sort: don't print uninitialized in diagnostic
authorJim Meyering <meyering@redhat.com>
Sun, 10 Aug 2008 08:51:03 +0000 (10:51 +0200)
committerJim Meyering <meyering@redhat.com>
Sun, 10 Aug 2008 14:48:55 +0000 (16:48 +0200)
commitcd1f4bc1ecde1e7b313c1d0d587a07965d00d8b1
tree098e699c44e71522d8b9554d027c857eec5f1b5b
parentb673a5b8ac32a325bb36a9a5a16747520832a456
sort: don't print uninitialized in diagnostic

* src/sort.c (specify_nmerge): Do use uinttostr value.
Provoke with e.g., sort -m --batch-size=18446744073709551617
Omit quotes around known-numeric value in diagnostic.
* tests/misc/sort-merge [nmerge-big]: Tighten ERR_SUBST regexp
to require a numeric value in that diagnostic, so this particular
failure cannot reappear.
src/sort.c
tests/misc/sort-merge