[lib/ChangeLog]
[gnulib.git] / lib / ChangeLog
index 8a11306..4393e2b 100644 (file)
@@ -1,5 +1,129 @@
+2006-09-27  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * __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
+       #define mkstemp.
+       * mkstemp.c: Revamp to put the !_LIBC code together.
+       Include "mkstemp.h".
+       Make the _LIBC code resemble glibc original more,
+       e.g., use K&R style.
+       * mkstemp-safer.c: Include "mkstemp.h" instead of <stdlib.h>.
+       (mkstemp): Remove, since mkstemp.h does this for us.
+       * stdlib--.h: Include mkstemp.h.
+
+       Import this patch from libc:
+
+       2006-04-07  Ulrich Drepper  <drepper@redhat.com>
+
+       * tempname.c (__gen_tempname): Change attempts_min
+       into a macro.  Use preprocessor to decide how to initialize
+       attempts [Coverity CID 67].
+
+2006-09-18  Bruno Haible  <bruno@clisp.org>
+
+       * javaversion.c: Include configmake.h.
+
+2006-09-18  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * getaddrinfo.c (getaddrinfo) [defined HAVE_IPV6]: Fix typo
+       that prevented coreutils 6.1 from building.  Problem reported
+       by Petter Reinholdtsen.
+
+2006-09-18  Jim Meyering  <jim@meyering.net>
+
+       * savewd.c (savewd_restore): Don't shadow: s/status/child_status/.
+
+2006-09-15  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * dirchownmod.c: Don't include fcntl.h; no longer needed.
+       (dirchownmod): New arg FD.  All callers changed.
+       Use FD rather than opening the directory ourself, as opening is
+       now the caller's responsibility.
+       * dirchownmod.h: Likewise.
+       * mkancesdirs.c: Include <sys/types.h>, for portability to older
+       hosts that require <sys/types.h> before <sys/stat.h>.  Include
+       fcntl.h, savewd.h, and unistd.h, not dirname.h and stat-macros.h.
+       (test_dir): Remove.
+       (mkancesdirs): Return length of prefix of FILE that has already
+       been made, or -2 if there is a child doing the work.  Redo
+       algorithm so that it is O(N) rather than O(N**2).  Optimize away
+       ".", and treat ".." specially since it might stray back into
+       already-created areas.  Use a subprocess if necessary.  New arg
+       WD; all users changed.  MAKE_DIR function should now return 1
+       if it creates a directory that is not readable.  Return -2 if
+       a child process is spun off.
+       * mkancesdirs.h: Include <stddef.h>, for ptrdiff_t.
+       Adjust signature to match code.
+       * mkdir-p.c: Include dirname.h, for IS_ABSOLUTE_FILE_NAME.
+       (make_dir_parents): Use a subprocess if necessary.  New arg WD;
+       all users changed.
+       * savewd.c, savewd.h: New files.
+
 2006-09-15  Jim Meyering  <jim@meyering.net>
 
+       * rename-dest-slash.c (has_trailing_slash): Use
+       FILE_SYSTEM_PREFIX_LEN, for non-POSIX systems.
+       (rpl_rename_dest_slash): Perform the cheaper trailing slash
+       test before testing whether SRC is a directory.
+       Suggestions from Bruno Haible.
+
        Avoid a warning about an unused variable.
        * regex_internal.c (re_dfa_add_node): Move declaration of "type"
        into the #ifdef block where it's used.