]> git.ipfire.org Git - thirdparty/util-linux.git/commit
last, utmpdump, agetty, wall, write: avoid compatibility hacks
authorSami Kerola <kerolasa@iki.fi>
Thu, 29 Aug 2013 06:46:46 +0000 (07:46 +0100)
committerSami Kerola <kerolasa@iki.fi>
Thu, 29 Aug 2013 17:14:10 +0000 (18:14 +0100)
commitcfa7fe890b09693ed503da7516977402cbbe13ed
tree209ef3d4676d62c36b59b62a33b06b37c9a5b8bf
parent31d28e09510f0a1fe8c11617f33fb4c445d041ac
last, utmpdump, agetty, wall, write: avoid compatibility hacks

In include/bits/utmp.h the ut_user and ut_time macros are marked with
comment they are backwards compatibility hacks.  It is probably best to
avoid use of these macros where ever possible.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
login-utils/last.c
login-utils/utmpdump.c
term-utils/agetty.c
term-utils/wall.c
term-utils/write.c