From 8ffb3578c6efbdda8247b70b3690281160f0e78c Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 28 Aug 2010 23:28:26 +0200 Subject: [PATCH] Rename module 'realloc' -> 'realloc-gnu'. --- ChangeLog | 8 ++++++++ NEWS | 3 +++ doc/posix-functions/realloc.texi | 2 +- modules/mgetgroups | 2 +- modules/realloc | 11 +++++++---- 5 files changed, 20 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7d8718dad..3a125a8db 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 2010-08-28 Bruno Haible + 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 diff --git a/NEWS b/NEWS index 78503af11..2015502cf 100644 --- a/NEWS +++ b/NEWS @@ -6,6 +6,9 @@ User visible incompatible changes 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. diff --git a/doc/posix-functions/realloc.texi b/doc/posix-functions/realloc.texi index f85772037..2ff4e169c 100644 --- a/doc/posix-functions/realloc.texi +++ b/doc/posix-functions/realloc.texi @@ -18,5 +18,5 @@ Portability problems not fixed by Gnulib: @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. diff --git a/modules/mgetgroups b/modules/mgetgroups index cd249dba3..c404d0143 100644 --- a/modules/mgetgroups +++ b/modules/mgetgroups @@ -9,7 +9,7 @@ m4/mgetgroups.m4 Depends-on: getgroups getugroups -realloc +realloc-gnu xalloc configure.ac: diff --git a/modules/realloc b/modules/realloc index d4f2167fc..42c7d70de 100644 --- a/modules/realloc +++ b/modules/realloc @@ -6,15 +6,18 @@ This module should not be used as a dependency from a test module, 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: -- 2.11.0