diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-03-30 07:40:17 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-03-30 07:40:17 +0000 |
commit | da54271e9598c9739d9a735498c3daa8437e983e (patch) | |
tree | c657bf47beeb04e436fc6e17f957baf4aaa2f503 /lib | |
parent | c315ff58b3b0a1039073ff37cfbefff721830113 (diff) | |
download | coreutils-da54271e9598c9739d9a735498c3daa8437e983e.tar.xz |
* readutmp.c (read_utmp) [!defined UTMP_NAME_FUNCTION]: Don't assume
utmp file is a regular file.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ChangeLog | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog index c53b4f9db..df36eef2c 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,4 +1,4 @@ -2005-03-29 Paul Eggert <eggert@cs.ucla.edu> +2005-03-30 Paul Eggert <eggert@cs.ucla.edu> * readutmp.h (read_utmp): New arg OPTIONS. All uses changed. * readutmp.c: Likewise. Include signal.h, stdbool.h. @@ -6,7 +6,7 @@ (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. + size calculation. Do not assume utmp file is a regular file. * readutmp.h (UT_PID): Moved here from ../src/who.c. (READ_UTMP_CHECK_PIDS): New constant. |