]> 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>
Sun, 30 Jul 2023 13:08:59 +0000 (15:08 +0200)
commit78c3dc2a2e59f5f1b5a3d35350a6178b683bc945
treee973590f7456cf825f7c2c84d79b617ca6b3feab
parentc408d9a53dbdaf48b555f216e250a2b3b8e48113
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