X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=ff20e2821faa9c66fe3feec1299d3675c7da6c57;hb=c0ebdfe226c38c72db7c1944113fd19ff534e362;hp=0b6736345913a325fc5939a7f79a695f42308849;hpb=6c345f635fe0306aed3a7724c94dc1e22a29d88a;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index 0b6736345..ff20e2821 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,134 @@ +2010-08-31 Eric Blake + and Jim Meyering + + hash: factor, and guard against misbehaving hasher function + * lib/hash.c (safe_hasher): New function, to encapsulate the checking + of table->hasher's return value. Also protect against a hash value + so large that adding it to table->bucket results in a NULL pointer. + (hash_lookup, hash_get_next, hash_find_entry, transfer_entries): + Use it in place of open-coded check-and-abort. + +2010-08-30 Bruno Haible + + hash: silence spurious clang warning + * lib/hash.c (hash_get_next): Remove unnecessary test against NULL. + Reported by Eric Blake. + +2010-08-30 Eric Blake + + strstr, memmem, strcasestr: avoid leaked shell message + * m4/strstr.m4 (gl_FUNC_STRSTR): Avoid "Alarm clock" message from + FreeBSD. + * m4/strcasestr.m4 (gl_FUNC_STRCASESTR): Likewise. + * m4/memmem.m4 (gl_FUNC_MEMMEM): Likewise. + + tests: silence clang warning + * tests/test-malloca.c (do_allocation): Avoid dead store. + +2010-08-29 Bruno Haible + + gettext: Fix recent mistake. + * m4/intl.m4 (gt_CHECK_DECL): Fix typo introduced on 2010-08-26. + +2010-08-29 Bruno Haible + + selinux-h: Offer a --without-selinux option. + * m4/selinux-selinux-h.m4 (gl_HEADERS_SELINUX_SELINUX_H): If + --without-selinux was specified, skip all tests and define + HAVE_SELINUX_SELINUX_H to 0. + (gl_LIBSELINUX): Offer --without-selinux option. If it is specified, + set LIB_SELINUX to empty. + * m4/selinux-context-h.m4 (gl_HEADERS_SELINUX_CONTEXT_H): Require + gl_LIBSELINUX. If --without-selinux was specified, replace + selinux/context.h. + Reported by Johan Hattne . + +2010-08-29 Ralf Wildenhues + Bruno Haible + + Make the module 'realloc-gnu' work again on AIX and OSF/1. + * m4/realloc.m4 (gl_FUNC_REALLOC_GNU): Define HAVE_REALLOC_GNU instead + of HAVE_REALLOC. + * lib/realloc.c (NEED_REALLOC_GNU): Enable behaviour also when + GNULIB_REALLOC_GNU && !HAVE_REALLOC_GNU. + (SYSTEM_MALLOC_GLIBC_COMPATIBLE): Adjust definition. + * modules/realloc-gnu (configure.ac): Use gl_MODULE_INDICATOR. + +2010-08-29 Ralf Wildenhues + Bruno Haible + + Make the module 'calloc-gnu' work again on AIX and OSF/1. + * m4/calloc.m4 (gl_FUNC_CALLOC_GNU): Define HAVE_CALLOC_GNU instead of + HAVE_CALLOC. + * lib/xmalloc.c: Update accordingly. + * lib/calloc.c (NEED_CALLOC_GNU): Enable also when + GNULIB_CALLOC_GNU && !HAVE_CALLOC_GNU. + * modules/calloc-gnu (configure.ac): Invoke gl_MODULE_INDICATOR. + +2010-08-29 Ralf Wildenhues + Bruno Haible + + Make the module 'malloc-gnu' work again on AIX and OSF/1. + * m4/malloc.m4 (gl_FUNC_MALLOC_GNU): Define HAVE_MALLOC_GNU instead of + HAVE_MALLOC. + * lib/malloc.c (NEED_MALLOC_GNU): Enable behaviour also when + GNULIB_MALLOC_GNU && !HAVE_MALLOC_GNU. + * modules/malloc-gnu (configure.ac): Use gl_MODULE_INDICATOR. + +2010-08-29 Bruno Haible + + Update modules list. + * MODULES.html.sh (Memory management functions ): Add + malloc-gnu, calloc-gnu, realloc-gnu. Remove malloc, calloc, realloc. + (String handling ): Add astrxfrm. + (File system functions): Add readlinkat. + +2010-08-28 Ralf Wildenhues + + Tests for module 'realloc-gnu'. + * modules/realloc-gnu-tests: New file. + * tests/test-realloc-gnu.c: New file. + + Tests for module 'calloc-gnu'. + * modules/calloc-gnu-tests: New file. + * tests/test-calloc-gnu.c: New file. + + Tests for module 'malloc-gnu'. + * modules/malloc-gnu-tests: New file. + * tests/test-malloc-gnu.c: New file. + +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 + 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 + 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 + + pread, pwrite: add missing dependency + * modules/pread (Depends-on): Add extensions. + * modules/pwrite (Depends-on): Likewise. + 2010-08-28 Bruno Haible unistr/u*-strchr: Fix tests dependencies.