]> git.ipfire.org Git - thirdparty/util-linux.git/commit
last: remove broken code
authorSami Kerola <kerolasa@iki.fi>
Sat, 17 Aug 2013 18:15:16 +0000 (19:15 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 23 Aug 2013 08:59:00 +0000 (10:59 +0200)
commitf65833b93089e902176dd90e6272da39b8bfd027
tree56e5e1d159480dd79d495494dce01794d4e816e8
parente843d047535b6523c16db8c37479f6fe29a50b72
last: remove broken code

Comment in the deletion tells everything necessary.

"This doesn't work on modern systems, where only a DNS lookup of the
result from hostname() will get you the domainname.  Remember that
domainname() is the NIS domainname, not DNS.  So basically this whole
piece of code is bullshit."

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
login-utils/last.c