]> git.ipfire.org Git - thirdparty/coreutils.git/commit
(read_utmp): New arg OPTIONS. All uses changed.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 30 Mar 2005 05:18:37 +0000 (05:18 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 30 Mar 2005 05:18:37 +0000 (05:18 +0000)
commit196fb1bc5cec0b39eb3049de88561cc63b040aa3
treee9830ccb01ff562db5dfdd0e5c9ceb38c491e690
parenta3710b1ef6942fa877a243d33632960aea05237d
(read_utmp): New arg OPTIONS.  All uses changed.
Include signal.h, stdbool.h.
(desirable_utmp_entry): New function.
(read_utmp) [defined UTMP_NAME_FUNCTION]: Redo memory allocation
using x2nrealloc, to simplify logic.
(read_utmp) [!defined UTMP_NAME_FUNCTION]: Check for overflow in
size calculation.
lib/readutmp.c