* lib/readutmp.h: Map utmpxname() to setutxdb(). With that coreutils who(1) and pinky(1) tests pass. --- lib/readutmp.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/lib/readutmp.h b/lib/readutmp.h index d1839ea..481eead 100644 --- a/lib/readutmp.h +++ b/lib/readutmp.h @@ -47,6 +47,8 @@ # define END_UTMP_ENT endutxent # ifdef HAVE_UTMPXNAME # define UTMP_NAME_FUNCTION utmpxname +# elif defined UTXDB_ACTIVE +# define UTMP_NAME_FUNCTION(x) setutxdb (UTXDB_ACTIVE, x) # endif # if HAVE_STRUCT_UTMPX_UT_EXIT_E_TERMINATION -- 2.4.1
