1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-08 17:22:05 +03:00

Rename module 'malloc' -> 'malloc-gnu'.

This commit is contained in:
Bruno Haible
2010-08-28 23:20:01 +02:00
parent c4bc551049
commit 1c8b757146
7 changed files with 52 additions and 7 deletions

View File

@@ -1,3 +1,14 @@
2010-08-28 Bruno Haible <bruno@clisp.org>
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
obsolete.
* modules/argp (Depends-on): Update.
* modules/regex (Depends-on): Update.
* doc/posix-functions/malloc.texi: Update.
* NEWS: Mention the change.
2010-08-28 Eric Blake <eblake@redhat.com> 2010-08-28 Eric Blake <eblake@redhat.com>
pread, pwrite: add missing dependency pread, pwrite: add missing dependency

3
NEWS
View File

@@ -6,6 +6,9 @@ User visible incompatible changes
Date Modules Changes Date Modules Changes
2010-08-28 malloc This module is deprecated. Use 'malloc-gnu'
instead. It will be removed 2012-01-01.
2010-08-14 memxfrm This module is renamed to amemxfrm. The include 2010-08-14 memxfrm This module is renamed to amemxfrm. The include
file is renamed to "amemxfrm.h". The function is file is renamed to "amemxfrm.h". The function is
renamed to amemxfrm. renamed to amemxfrm.

View File

@@ -20,6 +20,6 @@ Portability problems not fixed by Gnulib:
AIX 5.1, OSF/1 5.1. AIX 5.1, OSF/1 5.1.
@end itemize @end itemize
Extension: Gnulib provides a module @samp{malloc} that substitutes a Extension: Gnulib provides a module @samp{malloc-gnu} that substitutes a
@code{malloc} implementation that behaves more like the glibc implementation, @code{malloc} implementation that behaves more like the glibc implementation,
regarding the result of @code{malloc (0)}. regarding the result of @code{malloc (0)}.

View File

@@ -28,7 +28,7 @@ dirname-lgpl
getopt-gnu getopt-gnu
strchrnul strchrnul
sysexits sysexits
malloc malloc-gnu
mempcpy mempcpy
strndup strndup
strcase strcase

View File

@@ -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 otherwise when this module occurs as a tests-related module, it will
have side effects on the compilation of the main modules in lib/. have side effects on the compilation of the main modules in lib/.
Status:
obsolete
Notice:
This module is obsolete. Use the module 'malloc-gnu' instead.
Files: Files:
lib/malloc.c
Depends-on: Depends-on:
malloc-posix malloc-gnu
configure.ac: configure.ac:
gl_FUNC_MALLOC_GNU
AC_DEFINE([GNULIB_MALLOC_GNU], 1, [Define to indicate the 'malloc' module.])
Makefile.am: Makefile.am:

28
modules/malloc-gnu Normal file
View File

@@ -0,0 +1,28 @@
Description:
malloc() function that is glibc compatible.
Comment:
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/.
Files:
lib/malloc.c
Depends-on:
malloc-posix
configure.ac:
gl_FUNC_MALLOC_GNU
AC_DEFINE([GNULIB_MALLOC_GNU], 1, [Define to indicate the 'malloc' module.])
Makefile.am:
Include:
<stdlib.h>
License:
LGPLv2+
Maintainer:
Jim Meyering

View File

@@ -17,7 +17,7 @@ btowc
extensions extensions
gettext-h gettext-h
localcharset localcharset
malloc malloc-gnu
memcmp memcmp
memmove memmove
mbrtowc mbrtowc