]> 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 16:50:58 +0000 (18:50 +0200)
commite8d8db6daad1013f48a03b84659caf5550f4cad9
tree45bc28a6aa2898f54e3bfe2ec90cc81c25ef8671
parent10af618132f48f76ab2a8e3de48eae562032d1b2
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