changeset 4826:441582dcfc37

Log xrealloc -> free+xmalloc changes for getgroups, quotearg.
author Paul Eggert <eggert@cs.ucla.edu>
date Wed, 29 Oct 2003 17:35:16 +0000
parents 4f0f5b3860c9
children a6d03da0fa67
files lib/ChangeLog
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,12 @@
+2003-10-29  Paul Eggert  <eggert@twinsun.com>
+
+	* getgroups.c (getgroups): Don't use xrealloc, since we don't need
+	the buffer preserved.  Use free and xmalloc instead.
+	* quotearg.c (quotearg_n_options): Likewise.
+	Use a simpler test for size overflow.  Don't use xalloc_oversized
+	because unsigned int might be wider than size_t (!); this suggests
+	that we should switch from unsigned int to size_t for slot numbers.
+	
 2003-10-27  Bruno Haible  <bruno@clisp.org>
 
 	* stdbool_.h: Better support for BeOS.