Rename module 'calloc' -> 'calloc-gnu'.
authorBruno Haible <bruno@clisp.org>
Sat, 28 Aug 2010 21:24:22 +0000 (23:24 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 28 Aug 2010 21:24:22 +0000 (23:24 +0200)
ChangeLog
NEWS
doc/posix-functions/calloc.texi
modules/calloc
modules/calloc-gnu [new file with mode: 0644]

index 0c1e549..7d8718d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2010-08-28  Bruno Haible  <bruno@clisp.org>
 
+       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 0134a12..78503af 100644 (file)
--- 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.
 
index 7eede02..d0b79e0 100644 (file)
@@ -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.
index 07378b4..cdeee11 100644 (file)
@@ -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 (file)
index 0000000..07378b4
--- /dev/null
@@ -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:
+<stdlib.h>
+
+License:
+GPL
+
+Maintainer:
+Jim Meyering