changeset 13599:da5ad6f9fbd9

Rename module 'realloc' -> 'realloc-gnu'.
author Bruno Haible <bruno@clisp.org>
date Sat, 28 Aug 2010 23:28:26 +0200
parents f45ce22732be
children 7ac1c28fe4c7
files ChangeLog NEWS doc/posix-functions/realloc.texi modules/mgetgroups modules/realloc
diffstat 5 files changed, 20 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2010-08-28  Bruno Haible  <bruno@clisp.org>
 
+	Rename module 'realloc' -> 'realloc-gnu'.
+	* modules/realloc-gnu: New file, copied from modules/realloc.
+	* modules/realloc: Convert to a redirection to 'realloc-gnu'. Mark as
+	obsolete.
+	* modules/mgetgroups (Depends-on): Update.
+	* doc/posix-functions/realloc.texi: Update.
+	* NEWS: Mention the change.
+
 	Rename module 'calloc' -> 'calloc-gnu'.
 	* modules/calloc-gnu: New file, copied from modules/calloc.
 	* modules/calloc: Convert to a redirection to 'calloc-gnu'. Mark as
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,9 @@
 
 Date        Modules         Changes
 
+2010-08-28  realloc         This module is deprecated. Use 'realloc-gnu'
+                            instead. It will be removed 2012-01-01.
+
 2010-08-28  calloc          This module is deprecated. Use 'calloc-gnu'
                             instead. It will be removed 2012-01-01.
 
--- a/doc/posix-functions/realloc.texi
+++ b/doc/posix-functions/realloc.texi
@@ -18,5 +18,5 @@
 @itemize
 @end itemize
 
-Extension: Gnulib provides a module @samp{realloc} that substitutes a
+Extension: Gnulib provides a module @samp{realloc-gnu} that substitutes a
 @code{realloc} implementation that behaves more like the glibc implementation.
--- a/modules/mgetgroups
+++ b/modules/mgetgroups
@@ -9,7 +9,7 @@
 Depends-on:
 getgroups
 getugroups
-realloc
+realloc-gnu
 xalloc
 
 configure.ac:
--- a/modules/realloc
+++ b/modules/realloc
@@ -6,15 +6,18 @@
 otherwise when this module occurs as a tests-related module, it will
 have side effects on the compilation of the main modules in lib/.
 
+Status:
+obsolete
+
+Notice:
+This module is obsolete. Use the module 'realloc-gnu' instead.
+
 Files:
-lib/realloc.c
 
 Depends-on:
-realloc-posix
+realloc-gnu
 
 configure.ac:
-gl_FUNC_REALLOC_GNU
-AC_DEFINE([GNULIB_REALLOC_GNU], 1, [Define to indicate the 'realloc' module.])
 
 Makefile.am: