]> Savannah Git Hosting - gnulib.git/commit
readutmp: Improve comments. Fix module description.
authorBruno Haible <bruno@clisp.org>
Sun, 30 Jul 2023 13:08:59 +0000 (15:08 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 16 Aug 2023 17:30:36 +0000 (19:30 +0200)
commit28715c92b8234a07cbfd336f2a314889b8e1ddfc
tree62ad01d989761d0ae5fa9b5dfc6511514e4ed421
parentaa088f4405bfda589796a046fe5c842e77389913
readutmp: Improve comments. Fix module description.

* lib/readutmp.h (extract_trimmed_name): Add specification comment.
(read_utmp): Move specification comment from lib/readutmp.c to here.
Mention also UTMP_FILE and READ_UTMP_USER_PROCESS.
* lib/readutmp.c (extract_trimmed_name): Fix comment.
* modules/readutmp (Include): Only include the .h file if
HAVE_UTMPX_H || HAVE_UTMP_H.
ChangeLog
lib/readutmp.c
lib/readutmp.h
modules/readutmp