changeset 5025:fb8fedbb2357

.
author Jim Meyering <jim@meyering.net>
date Mon, 19 Apr 2004 20:11:51 +0000
parents 69c683f06d9f
children 89b909b9feb3
files lib/ChangeLog m4/ChangeLog
diffstat 2 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,8 @@
+2004-04-18  Jim Meyering  <jim@meyering.net>
+
+	* readutmp.c (read_utmp) [UTMP_NAME_FUNCTION]: Upon realloc failure,
+	don't leak memory and do call END_UTMP_ENT.
+
 2004-04-11  Paul Eggert  <eggert@twinsun.com>
 
 	* inttostr.h: Include <limits.h> unconditionally, since we assume C89.
@@ -68,7 +73,7 @@
 	of POSIX version, as POSIX 1003.1-2001 allows that behavior as a
 	compatible extension.  Simplify code by removing a boolean int
 	that was always nonzero if a string was nonnull.
-	
+
 2004-03-30  Jim Meyering  <jim@meyering.net>
 
 	Merge from coreutils.
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -1,3 +1,8 @@
+2004-04-19  Jim Meyering  <jim@meyering.net>
+
+	* readutmp.m4 (gl_PREREQ_READUTMP): Require gl_FUNC_FREE,
+	now that readutmp.c may call `free (0)'.
+
 2004-04-19  Bruno Haible  <bruno@clisp.org>
 
 	* mbrtowc.m4: Change jm_ to gl_ in cache variables as well.