From fc649ba7d1638850c8361ba33389c4c6b37cfdb6 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 28 Aug 2010 23:24:22 +0200 Subject: [PATCH] Rename module 'calloc' -> 'calloc-gnu'. --- ChangeLog | 7 +++++++ NEWS | 3 +++ doc/posix-functions/calloc.texi | 2 +- modules/calloc | 11 +++++++---- modules/calloc-gnu | 23 +++++++++++++++++++++++ 5 files changed, 41 insertions(+), 5 deletions(-) create mode 100644 modules/calloc-gnu diff --git a/ChangeLog b/ChangeLog index 0c1e549f0..7d8718dad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2010-08-28 Bruno Haible + 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 + obsolete. + * doc/posix-functions/calloc.texi: Update. + * NEWS: Mention the change. + Rename module 'malloc' -> 'malloc-gnu'. * modules/malloc-gnu: New file, copied from modules/malloc. * modules/malloc: Convert to a redirection to 'malloc-gnu'. Mark as diff --git a/NEWS b/NEWS index 0134a12a3..78503af11 100644 --- a/NEWS +++ b/NEWS @@ -6,6 +6,9 @@ User visible incompatible changes Date Modules Changes +2010-08-28 calloc This module is deprecated. Use 'calloc-gnu' + instead. It will be removed 2012-01-01. + 2010-08-28 malloc This module is deprecated. Use 'malloc-gnu' instead. It will be removed 2012-01-01. diff --git a/doc/posix-functions/calloc.texi b/doc/posix-functions/calloc.texi index 7eede0276..d0b79e0f4 100644 --- a/doc/posix-functions/calloc.texi +++ b/doc/posix-functions/calloc.texi @@ -18,5 +18,5 @@ Portability problems not fixed by Gnulib: @itemize @end itemize -Extension: Gnulib provides a module @samp{calloc} that substitutes a +Extension: Gnulib provides a module @samp{calloc-gnu} that substitutes a @code{calloc} implementation that behaves more like the glibc implementation. diff --git a/modules/calloc b/modules/calloc index 07378b4e2..cdeee1167 100644 --- a/modules/calloc +++ b/modules/calloc @@ -1,15 +1,18 @@ Description: calloc() function that is glibc compatible. +Status: +obsolete + +Notice: +This module is obsolete. Use the module 'calloc-gnu' instead. + Files: -lib/calloc.c -m4/calloc.m4 Depends-on: -calloc-posix +calloc-gnu configure.ac: -gl_FUNC_CALLOC_GNU Makefile.am: diff --git a/modules/calloc-gnu b/modules/calloc-gnu new file mode 100644 index 000000000..07378b4e2 --- /dev/null +++ b/modules/calloc-gnu @@ -0,0 +1,23 @@ +Description: +calloc() function that is glibc compatible. + +Files: +lib/calloc.c +m4/calloc.m4 + +Depends-on: +calloc-posix + +configure.ac: +gl_FUNC_CALLOC_GNU + +Makefile.am: + +Include: + + +License: +GPL + +Maintainer: +Jim Meyering -- 2.11.0