summaryrefslogtreecommitdiff
path: root/lib/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-03-30 05:19:48 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-03-30 05:19:48 +0000
commit3e5310af44273139463599c0afd7d0fa751e7bbb (patch)
treec574c685b3cbe1712b9267440bff636fbca95606 /lib/ChangeLog
parentec764b0a95ee74773955f6d1e64ec82c7c232509 (diff)
downloadcoreutils-3e5310af44273139463599c0afd7d0fa751e7bbb.tar.xz
readutmp changes to allow checking for live pids
Diffstat (limited to 'lib/ChangeLog')
-rw-r--r--lib/ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 0526a7239..c53b4f9db 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,15 @@
+2005-03-29 Paul Eggert <eggert@cs.ucla.edu>
+
+ * readutmp.h (read_utmp): New arg OPTIONS. All uses changed.
+ * readutmp.c: Likewise. 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.
+ * readutmp.h (UT_PID): Moved here from ../src/who.c.
+ (READ_UTMP_CHECK_PIDS): New constant.
+
2005-03-29 Jim Meyering <jim@meyering.net>
* long-options.c (long_options): Use NULL, not `0'.