* xalloc.h (xalloc_oversized): New static inline function, for
callers that want to do their own size-overflow checking. Include
<stdbool.h>, since xalloc_oversized returns bool.
+ * xalloc.c (array_size_overflow): Remove. All callers changed
+ to use xalloc_oversized.
Add two functions x2realloc, x2nrealloc, for programs that grow
arrays dynamically by doubling their sizes.
+2003-10-26 Paul Eggert <eggert@twinsun.com>
+
+ * xalloc.m4 (gl_XALLOC): Requore AC_C_INLINE, since xalloc.h
+ now uses inline.
+
2003-10-23 Paul Eggert <eggert@twinsun.com>
* getline.m4 (AM_FUNC_GETLINE):
-# xalloc.m4 serial 4
+# xalloc.m4 serial 5
dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
AC_DEFUN([gl_XALLOC],
[
+ AC_REQUIRE([AC_C_INLINE])
gl_PREREQ_XMALLOC
gl_PREREQ_XSTRDUP
])