]> git.ipfire.org Git - thirdparty/util-linux.git/commit
wall: remove global variables and support TMPDIR
authorSami Kerola <kerolasa@iki.fi>
Wed, 6 Apr 2011 19:31:00 +0000 (21:31 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 12 Apr 2011 09:09:42 +0000 (11:09 +0200)
commit98e2d4deb36542f13211ed5d533461dd838c90a8
tree9b3c43e7cd191e18c4d583d716047b43dd760bbd
parentca6182333e1417bde216abd8e223f23989a45445
wall: remove global variables and support TMPDIR

The TMPDIR environment is preferred over _PATH_TMP in which a
file is created that is ultimately sent to terminals. This patch
will also fix compiler warnings and removes magical numbers,
which has not explanation.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
term-utils/wall.c