sort: avoid unnecessary use of sprintf
authorJim Meyering <meyering@redhat.com>
Sun, 6 Jun 2010 16:51:42 +0000 (18:51 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 8 Jun 2010 11:16:26 +0000 (13:16 +0200)
commitad89ea6a0dc4a404871f87eef6e9727c07f4cfb6
tree1da42e1b6f2e5dabd2ece55e7e9e9611cc5b47d9
parent04bed02096fc574476886d6494a6a147b5208f6b
sort: avoid unnecessary use of sprintf

sprintf is relatively heavy-weight.
* src/sort.c (key_warnings): Use umaxtostr and stpcpy rather
than sprintf.
Also, replace each INT_BUFSIZE_BOUND "type_name" argument
with the equivalent variable name.  More maintainable that way.
src/sort.c