Mercurial > hg > octave-nkf > gnulib-hg
changeset 13597:2009960fc420
Rename module 'malloc' -> 'malloc-gnu'.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 28 Aug 2010 23:20:01 +0200 |
parents | 3db59d862630 |
children | f45ce22732be |
files | ChangeLog NEWS doc/posix-functions/malloc.texi modules/argp modules/malloc modules/malloc-gnu modules/regex |
diffstat | 7 files changed, 52 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -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> pread, pwrite: add missing dependency
--- a/NEWS +++ b/NEWS @@ -6,6 +6,9 @@ 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 file is renamed to "amemxfrm.h". The function is renamed to amemxfrm.
--- a/doc/posix-functions/malloc.texi +++ b/doc/posix-functions/malloc.texi @@ -20,6 +20,6 @@ AIX 5.1, OSF/1 5.1. @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, regarding the result of @code{malloc (0)}.
--- a/modules/argp +++ b/modules/argp @@ -28,7 +28,7 @@ getopt-gnu strchrnul sysexits -malloc +malloc-gnu mempcpy strndup strcase
--- a/modules/malloc +++ b/modules/malloc @@ -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 'malloc-gnu' instead. + Files: -lib/malloc.c Depends-on: -malloc-posix +malloc-gnu configure.ac: -gl_FUNC_MALLOC_GNU -AC_DEFINE([GNULIB_MALLOC_GNU], 1, [Define to indicate the 'malloc' module.]) Makefile.am:
new file mode 100644 --- /dev/null +++ b/modules/malloc-gnu @@ -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