diff lib/ChangeLog @ 4805:8f430f14ff21

Merge changes from glibc obstack; minor cleanups to make it easier to merge back in the future.
author Paul Eggert <eggert@cs.ucla.edu>
date Wed, 22 Oct 2003 05:10:04 +0000
parents d0a345595720
children 151b8ba4ab1d
line wrap: on
line diff
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,5 +1,18 @@
 2003-10-21  Paul Eggert  <eggert@twinsun.com>
 
+	* obstack.c: Merge from glibc.
+	[defined _LIBC]: Include <obstack.h>, not "obstack.h".
+	Add libc_hidden_def (_obstack_newchunk).
+	(_obstack_free) [! defined _LIBC]: Remove.
+	[defined _LIBC]: Make a strong alias from obstack_free, rather than
+	a clone of the function body.
+	(fputs) [defined _LIBC && defined USE_IN_LIBIO]: Remove.
+	[defined _LIBC && !defined USE_IN_LIBIO]: Include <libio/iolibio.h>.
+
+	* obstack.h: Indenting cleanup, to make it easier to merge with glibc.
+	(obstack_grow, obstack_grow0): Remove unnecessary parentheses around
+	arg to memcpy.
+
 	* obstack.h (obstack_1grow_fast): Properly parenthesize arg.
 	(obstack_ptr_grow_fast, obstack_int_grow_fast):
 	Don't use lvalue casts, as GCC plans to remove support for them