]> Savannah Git Hosting - gnulib.git/commit
readutmp: Revisit portability.
authorBruno Haible <bruno@clisp.org>
Mon, 31 Jul 2023 18:33:48 +0000 (20:33 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 31 Jul 2023 18:34:41 +0000 (20:34 +0200)
commitb79e6f56651423c53ba4cee6865c036fc03458df
treef0922cef0430f952e342c9dc125e11a72593122d
parent0e7af0cff0011f25f5f842af5216325923017b34
readutmp: Revisit portability.

* m4/readutmp.m4 (gl_READUTMP): Don't test for struct utmp.ut_exit.ut_*,
since no platform has these.
* lib/readutmp.h (UT_EXIT_E_TERMINATION): Don't test
HAVE_STRUCT_UTMP_UT_EXIT_UT_TERMINATION.
(UT_EXIT_E_EXIT): Don't test HAVE_STRUCT_UTMP_UT_EXIT_UT_EXIT.
* doc/posix-headers/utmpx.texi: Update platforms list. Mention
portability problems of specific 'struct utmpx' fields.
* doc/glibc-headers/utmp.texi: Update platforms list. Mention
portability problems of specific 'struct utmp' fields.
ChangeLog
doc/glibc-headers/utmp.texi
doc/posix-headers/utmpx.texi
lib/readutmp.h
m4/readutmp.m4