Add a search_atleast operation.
[gnulib.git] / lib / ChangeLog
index 959f7e1..e8ab808 100644 (file)
@@ -1,3 +1,149 @@
+2006-10-03  Bruno Haible  <bruno@clisp.org>
+
+       * gl_oset.h (gl_setelement_threshold_fn): New type.
+       (gl_oset_search_atleast): New declaration.
+       (struct gl_oset_implementation): Add field 'search_atleast'.
+       (gl_oset_search_atleast): New inline function.
+       * gl_oset.c (gl_oset_search_atleast): New function.
+       * gl_array_oset.c (gl_array_search_atleast): New function.
+       (gl_array_oset_implementation): Update.
+       * gl_anytree_oset.h (gl_tree_search_atleast): New function.
+       * gl_avltree_oset.c (gl_avltree_oset_implementation): Update.
+       * gl_rbtree_oset.c (gl_rbtree_oset_implementation): Update.
+
+2006-10-04  Jim Meyering  <jim@meyering.net>
+
+       * fts.c (fts_open): Tiny comment change.
+
+2006-10-03  Bruno Haible  <bruno@clisp.org>
+
+       * gl_rbtreehash_list.c (gl_rbtreehash_list_implementation): Renamed
+       from gl_avltreehash_list_implementation.
+
+2006-10-03  Bruno Haible  <bruno@clisp.org>
+
+       * gl_oset.c (gl_oset_add): Fix return type.
+
+2006-10-02  Dmitry V. Levin  <ldv@altlinux.org>
+
+       * fts.c (fts_close, fts_build, fts_palloc): Remove redundant checks.
+
+2006-10-02  Paolo Bonzini  <bonzini@gnu.org>  (tiny change)
+
+       * quotearg.c (mbstate_t) [!HAVE_MBRTOWC]: #define to int.
+
+2006-09-29  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Work around bug in Solaris 10 /proc file system:
+       /proc/self/fd/NNN/.. isn't the parent directory of
+       the directory whose file descriptor is NNN.  This needs to
+       be worked around at run time, not compile time, since a
+       program might be built on Solaris 8, where things work, and
+       run on Solaris 10.
+       * openat-priv.h (BUILD_PROC_NAME): Remove.  All callers changed
+       to use the following interface instead:
+       (OPENAT_BUFFER_SIZE): New macro.
+       (openat_proc_name): New function.
+       * at-func.c (AT_FUNC_NAME): Adjust to above changes.
+       * openat.c (openat_permissive, openat_needs_fchdir, fdopendir):
+       Likewise.
+       * openat-proc.c: New file.
+
+2006-09-29  Bruno Haible  <bruno@clisp.org>
+
+       * fwriteerror.h (fwriteerror_no_ebadf): New declaration.
+       * (do_fwriteerror): Renamed from fwriteerror. Add ignore_ebadf
+       argument. Set stdout_closed before testing for ferror, not after.
+       (fwriteerror, fwriteerror_no_ebadf): New functions.
+
+2006-09-28  Bruno Haible  <bruno@clisp.org>
+
+       * strndup.h: Simplify the redefinition of strndup.
+       (_GL_CONCAT, _GL_XCONCAT, __STRNDUP_ID): Remove macros.
+
+2006-09-28  Bruno Haible  <bruno@clisp.org>
+
+       * gl_avltreehash_list.c: Include <stdint.h> instead of size_max.h.
+       * gl_linkedhash_list.c: Likewise.
+       * gl_rbtreehash_list.c: Likewise.
+
+2006-09-28  Jim Meyering  <jim@meyering.net>
+
+       * mkdir-p.c: Include "dirchownmod.h", not "dirchownmod.c".
+       Include <unistd.h>.
+
+2006-09-27  Jim Meyering  <jim@meyering.net>
+
+       This file could end up with a definition for a function
+       named __strndup, rather than rpl_strndup on a system with
+       incomplete weak_alias support.
+       * strndup.c (strndup): Rename from __strndup.
+       Remove #defines that used to map __strndup to strndup.
+       Don't use K&R prototypes.
+       Remove LIBC-related code, since this file is not sync'd with glibc.
+       * strndup.h: Revamp, accordingly.
+
+2006-09-27  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * canon-host.c (canon_host_r): Work around bug in Darwin 7.9.0
+       getaddrinfo.
+
+       * __fpending.h: Don't include <stdio_ext.h> unless
+       HAVE_DECL___FPENDING.  This avoids a bug with lsbcc, where
+       it causes <stdio_ext.h> to cause a compile-time error.
+       Problem reported by Nelson H. F. Beebe.
+       * getpass.c: Likewise, except for HAVE_DECL___FSETLOCKING instead
+       of HAVE_DECL___PENDING.
+
+2006-09-26  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * savewd.c: Include <signal.h>, for 'raise'.
+
+2006-09-26  Eric Blake  <ebb9@byu.net>
+
+       * verror.c: Include <config.h> unconditionally.
+
+2006-09-22  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+       * gl_anylinked_list2.h [lint] (gl_linked_iterator)
+       (gl_linked_iterator_from_to): Initialize struct completely.
+       * gl_anytree_list2.h [lint] (gl_tree_iterator): Likewise.
+       (gl_tree_iterator_from_to): Likewise
+       * gl_anytree_oset.h [lint] (gl_tree_iterator): Likewise.
+       * gl_array_list.c [lint] (gl_array_iterator)
+       (gl_array_iterator_from_to): Likewise.
+       * gl_array_oset.c [lint] (gl_array_iterator): Likewise.
+       * gl_carray_list.c [lint] (gl_carray_iterator)
+       (gl_carray_iterator_from_to): Likewise.
+
+       * gc-gnulib.c [GC_USE_HMAC_SHA1]: include hmac.h for hmac_sha1.
+       * md4.c (md4_process_block): Remove unused variable.
+       * rijndael-api-fst.c (rijndaelBlockDecrypt): GCC suggests
+       parentheses for clarity.
+
+2006-09-20  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Import this patch from libc:
+
+       2006-09-06  Jakub Jelinek  <jakub@redhat.com>
+
+       * regex_internal.c (re_string_reconstruct): Handle
+       offset < pstr->valid_raw_len && pstr->offsets_needed case.
+       Ensure no bytes read before raw_mbs array.  Pass a saved copy of
+       pstr->valid_len - 1 rather than pstr->valid_raw_len - 1 to
+       re_string_context_at.
+
+2006-09-20  Bruno Haible  <bruno@clisp.org>
+
+       * mkdtemp.c: Import from libc.
+       2006-04-07  Ulrich Drepper  <drepper@redhat.com>
+               * sysdeps/posix/tempname.c (__gen_tempname): Change
+               attempts_min into a macro.  Use preprocessor to decide how to
+               initialize attempts [Coverity CID 67].
+       2001-11-27  Paul Eggert  <eggert@twinsun.com>
+               * sysdeps/posix/tempname.c (__gen_tempname): Try at least
+               ATTEMPTS_MIN or TMP_MAX times, whichever is greater.
+
 2006-09-20  Paul Eggert  <eggert@cs.ucla.edu>
 
        * mkstemp.h: New file, since some standard headers