diff options
author | Ed Schouten <ed@80386.nl> | 2012-09-15 20:27:57 +0200 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-12-16 11:59:30 -0800 |
commit | 88bf1500095d7aaea9689a6d0367d6ff5c868292 (patch) | |
tree | f6a3b1c281e6d5f3e92c477e1bc5f4599fbb965c /sessreg.h | |
parent | d6570f5188ac8b223a2ae8d1ef596f313938acca (diff) |
Remove dubious code.
The NO_UTMP definition is set on non-FreeBSD, non-OpenBSD, BSD-based
systems. When looking at the commonly used BSD-based operating systems,
they either use utmpx, or I can't think of a reason why the utmp code
wouldn't work.
If it turns out some obscure operating system breaks because of this
change, we should replace this by something more accurate, such as an
Autoconf check or an #ifdef specific to that operating system.
Signed-off-by: Ed Schouten <ed@80386.nl>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'sessreg.h')
-rw-r--r-- | sessreg.h | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -75,13 +75,6 @@ # define USE_LASTLOG #endif -#ifdef CSRG_BASED -#if !defined(__FreeBSD__) && !defined(__OpenBSD__) -/* *BSD doesn't like a ':0' type entry in utmp */ -#define NO_UTMP -#endif -#endif - #ifndef WTMP_FILE # ifdef _PATH_WTMP # define WTMP_FILE _PATH_WTMP |