]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: tac: remove sole use of sprintf in favor of filenamecat
authorJim Meyering <meyering@redhat.com>
Sun, 16 Oct 2011 08:35:56 +0000 (10:35 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 17 Oct 2011 15:44:49 +0000 (17:44 +0200)
commit60cd4c271d35eb94bbf04e07425502ed3bb8697c
treed9d11cc922e5f00162a78b621ec2097439125119
parentead96f9ede398eb34f23ee75317062963b460942
maint: tac: remove sole use of sprintf in favor of filenamecat

* src/tac.c: Include filenamecat.h.
(copy_to_temp): Use filenamecat rather than xmalloc and sprintf.
Move some declarations "down" to point of initialization.
src/tac.c