summaryrefslogtreecommitdiff
path: root/src/tail.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-06-06 18:51:42 +0200
committerJim Meyering <meyering@redhat.com>2010-06-08 13:16:26 +0200
commitad89ea6a0dc4a404871f87eef6e9727c07f4cfb6 (patch)
tree1da42e1b6f2e5dabd2ece55e7e9e9611cc5b47d9 /src/tail.c
parent04bed02096fc574476886d6494a6a147b5208f6b (diff)
downloadcoreutils-ad89ea6a0dc4a404871f87eef6e9727c07f4cfb6.tar.xz
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.
Diffstat (limited to 'src/tail.c')
0 files changed, 0 insertions, 0 deletions