]> Savannah Git Hosting - gnulib.git/commit
readutmp, boot-time: Fix compilation error on old Android.
authorBruno Haible <bruno@clisp.org>
Sun, 13 Aug 2023 13:39:09 +0000 (15:39 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 13 Aug 2023 13:39:09 +0000 (15:39 +0200)
commit9cf0d830f0afc16392ef859fa66a9c5b08d7fcbe
tree534fd0510846467c9caddd2e0b721ce1b2cf4267
parent5528e726e9cc1ff9a2c7a71100450c52b65e9e7f
readutmp, boot-time: Fix compilation error on old Android.

Reported by Po Lu in
<https://lists.gnu.org/archive/html/bug-gnulib/2023-08/msg00108.html>.

* lib/readutmp.c (endutent): New fallback declaration, for Android.
(getutent): Remove Ultrix workaround from 2000-04-05.
* lib/boot-time.c: Likewise.
* m4/readutmp.m4 (gl_PREREQ_READUTMP_H): Test whether endutent is
declared, not getutent.
* doc/glibc-functions/endutent.texi: Mention the Android bug.
ChangeLog
doc/glibc-functions/endutent.texi
lib/boot-time.c
lib/readutmp.c
m4/readutmp.m4