Avoid a warning about an unused variable.
[gnulib.git] / lib / ChangeLog
index ffb0909..8a11306 100644 (file)
@@ -1,3 +1,175 @@
+2006-09-15  Jim Meyering  <jim@meyering.net>
+
+       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.
+
+       * rename-dest-slash.c: New file.
+
+2006-09-14  Bruno Haible  <bruno@clisp.org>
+
+       * allocsa.c: Include <config.h> unconditionally.
+       * asnprintf.c: Likewise.
+       * asprintf.c: Likewise.
+       * c-strcasecmp.c: Likewise.
+       * c-strcasestr.c: Likewise.
+       * c-strncasecmp.c: Likewise.
+       * c-strstr.c: Likewise.
+       * classpath.c: Likewise.
+       * clean-temp.c: Likewise.
+       * concatpath.c: Likewise.
+       * copy-file.c: Likewise.
+       * csharpcomp.c: Likewise.
+       * csharpexec.c: Likewise.
+       * execute.c: Likewise.
+       * fatal-signal.c: Likewise.
+       * findprog.c: Likewise.
+       * fwriteerror.c: Likewise.
+       * gl_array_list.c: Likewise.
+       * gl_array_oset.c: Likewise.
+       * gl_avltree_list.c: Likewise.
+       * gl_avltree_oset.c: Likewise.
+       * gl_avltreehash_list.c: Likewise.
+       * gl_carray_list.c: Likewise.
+       * gl_linked_list.c: Likewise.
+       * gl_linkedhash_list.c: Likewise.
+       * gl_list.c: Likewise.
+       * gl_oset.c: Likewise.
+       * gl_rbtree_list.c: Likewise.
+       * gl_rbtree_oset.c: Likewise.
+       * gl_rbtreehash_list.c: Likewise.
+       * imaxabs.c: Likewise.
+       * imaxdiv.c: Likewise.
+       * javacomp.c: Likewise.
+       * javaexec.c: Likewise.
+       * javaversion.c: Likewise.
+       * linebreak.c: Likewise.
+       * localcharset.c: Likewise.
+       * lock.c: Likewise.
+       * mbchar.c: Likewise.
+       * mbswidth.c: Likewise.
+       * mkdtemp.c: Likewise.
+       * pipe.c: Likewise.
+       * printf-args.c: Likewise.
+       * printf-parse.c: Likewise.
+       * progname.c: Likewise.
+       * progreloc.c: Likewise.
+       * readlink.c: Likewise.
+       * sh-quote.c: Likewise.
+       * stpcpy.c: Likewise.
+       * stpncpy.c: Likewise.
+       * strcasecmp.c: Likewise.
+       * strcasestr.c: Likewise.
+       * strcspn.c: Likewise.
+       * striconv.c: Likewise.
+       * strncasecmp.c: Likewise.
+       * strnlen1.c: Likewise.
+       * strstr.c: Likewise.
+       * strtok_r.c: Likewise.
+       * tls.c: Likewise.
+       * tmpdir.c: Likewise.
+       * unicodeio.c: Likewise.
+       * unsetenv.c: Likewise.
+       * vasnprintf.c: Likewise.
+       * vasprintf.c: Likewise.
+       * wait-process.c: Likewise.
+       * xallocsa.c: Likewise.
+       * xsetenv.c: Likewise.
+       * xstriconv.c: Likewise.
+
+2006-09-13  Eric Blake  <ebb9@byu.net>
+
+       * getopt.c: Fix typo in last commit.
+
+2006-09-13  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * _fpending.c: Include <config.h> unconditionally, since we no
+       longer worry about uses that don't define HAVE_CONFIG_H.
+       * acl.c, alloca.c, argmatch.c, atexit.c, backupfile.c:
+       * basename.c, c-stack.c, c-strtod.c, calloc.c, canon-host.c:
+       * canonicalize.c, chdir-long.c, chdir-safer.c, chown.c:
+       * cloexec.c, close-stream.c, closeout.c, creat-safer.c:
+       * cycle-check.c, diacrit.c, dirchownmod.c, dirfd.c, dirname.c:
+       * dup-safer.c, dup2.c, error.c, euidaccess.c, exclude.c:
+       * exitfail.c, fchmodat.c, fchown-stub.c, fd-safer.c:
+       * file-type.c, fileblocks.c, filemode.c, filenamecat.c:
+       * fnmatch.c, fopen-safer.c, fprintftime.c, free.c, fsusage.c:
+       * ftruncate.c, fts-cycle.c, fts.c, full-write.c, gai_strerror.c:
+       * getcwd.c, getdate.y, getdomainname.c, getgroups.c:
+       * gethostname.c, gethrxtime.c, getloadavg.c, getlogin_r.c:
+       * getndelim2.c, getnline.c, getopt.c, getopt1.c, getpass.c:
+       * gettime.c, gettimeofday.c, getugroups.c, getusershell.c:
+       * glob.c, group-member.c, hard-locale.c, hash-pjw.c, hash.c:
+       * human.c, idcache.c, inet_ntop.c, inet_pton.c, inttostr.c:
+       * isdir.c, lchown.c, linebuffer.c, long-options.c, lstat.c:
+       * malloc.c, md5.c, memcasecmp.c, memchr.c, memcmp.c, memcoll.c:
+       * memcpy.c, memmove.c, memrchr.c, mkancesdirs.c, mkdir-p.c:
+       * mkdir.c, mkdirat.c, mkstemp-safer.c, mkstemp.c, modechange.c:
+       * mountlist.c, nanosleep.c, obstack.c, open-safer.c:
+       * openat-die.c, openat.c, pagealign_alloc.c, physmem.c:
+       * pipe-safer.c, posixtm.c, posixver.c, putenv.c, quote.c:
+       * quotearg.c, raise.c, readtokens.c, readtokens0.c, readutmp.c:
+       * realloc.c, regex.c, rename.c, rmdir.c, rpmatch.c, safe-read.c:
+       * same.c, save-cwd.c, savedir.c, setenv.c, settime.c, sha1.c:
+       * sig2str.c, snprintf.c, strdup.c, strerror.c, strftime.c:
+       * stripslash.c, strndup.c, strnlen.c, strpbrk.c, strtod.c:
+       * strtoimax.c, strtol.c, strverscmp.c, tempname.c, time_r.c:
+       * timegm.c, tmpfile-safer.c, unlinkdir.c, userspec.c, utime.c:
+       * utimecmp.c, utimens.c, version-etc-fsf.c, version-etc.c:
+       * xalloc-die.c, xgetcwd.c, xgethostname.c, xmalloc.c:
+       * xmemcoll.c, xnanosleep.c, xreadlink.c, xstrtod.c:
+       * xstrtoimax.c, xstrtol.c, xstrtoumax.c, yesno.c:
+       Likewise.
+
+2006-09-12  Jim Meyering  <jim@meyering.net>
+
+       * nanosleep.c: Include <sys/types.h> before sys/select.h, to avoid
+       compilation failure (due to use of pid_t in latter) on NetBSD 1.6.
+       Reported by Nelson H. F. Beebe.
+
+2006-09-12  Sergey Poznyakoff  <gray@gnu.org.ua>
+
+       * argp-help.c (argp_doc): Make sure NULL is not passed to
+       dgettext.
+
+2006-09-10  Bruno Haible  <bruno@clisp.org>
+
+       * mkdtemp.c: Include <stdint.h> always. Don't include <inttypes.h>.
+
+2006-09-10  Sergey Poznyakoff  <gray@gnu.org.ua>
+
+       * argp-parse.c (__argp_parse) [!_LIBC]: Make sure
+       program_invocation_name and program_invocation_short_name are
+       initialized.
+       * argp-namefrob.h: Move declarations of program_invocation_name
+       and program_invocation_short_name to argp.h, so they are visible
+       to user programs.
+       * argp.h: Likewise
+
+2006-09-09  Sergey Poznyakoff  <gray@gnu.org.ua>
+
+       * argp.h (struct argp): Document the N_("..") "\v" N_("..")
+       convention.  Text proposed by Bruno Haible.
+       (struct argp_option): Document the use of N_() wrappers.
+
+       * argp-help.c (argp_doc): Split the untranslated doc string on '\v',
+       and translate the two parts separately, instead of feeding
+       the whole string to gettext.  This allows to exclude
+       '\v' from the strings visible to the translator by writing doc
+       strings as N_("..") "\v" N_("..").
+
+2006-09-08  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * mktime.c (guess_time_tm): Fix bug where mktime
+       returned the maximum time_t value rather than (time_t) -1.
+       Problem originally reported by William Bardwell
+       <http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.
+
+       * isapipe.h (HAVE_FIFO_PIPES) [!defined HAVE_FIFO_PIPES]:
+       Moved to here ...
+       * isapipe.c (HAVE_FIFO_PIPES) [!defined HAVE_FIFO_PIPES]:
+       ... from here.
+
 2006-09-06  Bruno Haible  <bruno@clisp.org>
 
        * striconv.h: New file.
 2006-09-05  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
 
        * argz_.h: Sync from Libtool.
-       
+
        2006-09-04  George Bosilca <bosilca@cs.utk.edu>
                and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
-       
+
        * libltdl/argz_.h: It's __cplusplus, not _cplusplus.
 
 2006-09-05  Davide Angelocola <davide.angelocola@tiscali.it>
 
        2006-07-19  Mike Frysinger  <vapier@gentoo.org>
 
-       * lib/mountlist.c [ME_REMOTE]: Filter out cifs.
+       * mountlist.c [ME_REMOTE]: Filter out cifs.
        Reported by Toralf Förster in <http://bugs.gentoo.org/141012>.
 
 2006-08-08  Eric Blake  <ebb9@byu.net>
 
 2006-07-06  Jim Hyslop  <jhyslop@dreampossible.ca>  (tiny change)
 
-       * lib/getaddrinfo.c: Changes to compile under MSVC6: changed
+       * getaddrinfo.c: Changes to compile under MSVC6: changed
        '#if WIN32_NATIVE' to '#ifdef' & moved WSAAPI macro inside
        brackets.  Other minor changes to suppress some compiler
        warnings.
 
 2005-09-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>  (tiny change)
 
-       * lib/base64.c: Typo.
+       * base64.c: Typo.
        (base64_encode): Put b64str in initialized data section.
 
 2005-09-12  Derek Price  <derek@ximbiot.com>
        (SIZE_MAX) [!defined SIZE_MAX]: New macro.
        (re_alloc_oversized, re_x2alloc_oversized, re_xnmalloc):
        (re_xnrealloc, re_x2nrealloc): New inline functions.
-       * lib/regcomp.c (init_dfa, analyze, build_range_exp, parse_bracket_exp):
+       * regcomp.c (init_dfa, analyze, build_range_exp, parse_bracket_exp):
        (build_equiv_class, build_charclass): Check for arithmetic overflow
        in size expression calculations.
-       * lib/regex_internal.c (re_string_realloc_buffers):
+       * regex_internal.c (re_string_realloc_buffers):
        (build_wcs_upper_buffer, re_node_set_add_intersect):
        (re_node_set_init_union, re_node_set_insert, re_node_set_insert_last):
        (re_dfa_add_node, register_state): Likewise.
-       * lib/regexec.c (re_search_stub, re_copy_regs, re_search_internal):
+       * regexec.c (re_search_stub, re_copy_regs, re_search_internal):
        (prune_impossible_nodes, push_fail_stack, set_regs, check_arrival):
        (build_trtable, extend_buffers, match_ctx_init, match_ctx_add_entry):
        (match_ctx_add_subtop, match_ctx_add_sublast): Likewise.
        (re_string_char_size_at, re_string_wchar_at, re_string_elem_size_at):
        Put __attribute at function definition,
        now that the function decl has been removed.
-       * lib/regex_internal.c (re_string_peek_byte_case):
+       * regex_internal.c (re_string_peek_byte_case):
        (re_string_fetch_byte_case, re_node_set_compare, re_node_set_contains):
        Likewise.