Avoid clash with mingw's definition of __argc and __argv as macros.
[gnulib.git] / ChangeLog
index f0201b3..a9eb085 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,232 @@
+2006-10-23  Bruno Haible  <bruno@clisp.org>
+            Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/argp.h (argp_parse, __argp_parse): Comment out the identifiers
+       __argc, __argv from the declaration. (They are defined as macros on
+       mingw.)
+
+2006-10-22  Bruno Haible  <bruno@clisp.org>
+
+       * doc/gnulib-intro.texi: New file.
+       * doc/gnulib.texi: Include it.
+
+2006-10-21  Bruno Haible  <bruno@clisp.org>
+
+       * doc/gnulib.texi: Split the chapter "Gnulib" into 3 chapters
+       "Introduction", "Miscellanous Notes", "Particular Modules".
+
+2006-10-21  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_emit_lib_Makefile_am, func_emit_tests_Makefile_am):
+       Change mostlyclean-local rule to avoid sh syntax error from bash
+       versions 2.00..2.05 when $(MOSTLYCLEANDIRS) is empty.
+
+2006-10-23  Jim Meyering  <jim@meyering.net>
+
+       * lib/getaddrinfo.c (getnameinfo): Use new lightweight uinttostr,
+       in place of snprintf.
+
+       * modules/inttostr (Files): Add lib/uinttostr.c.
+       * lib/uinttostr.c (inttostr): New file/function.
+       * lib/inttostr.h (uinttostr): Declare.
+       * m4/inttostr.m4: Add AC_LIBOBJ([uinttostr]).
+       * MODULES.html.sh (Numeric conversion functions <stdlib.h>):
+       Add uinttostr.
+       * modules/getaddrinfo (Depends-on): Remove snprintf.  Add inttostr.
+
+2006-10-21  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/canonicalize.c (ELOOP): Define if not already defined.
+       Problem reported by Bruno Haible in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2006-10/msg00282.html>.
+
+2006-10-21  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/stdint_.h [defined _AIX]: Don't include <sys/types.h>.
+       Problem reported by Perry Smith and Ville Laurikari.
+
+       * lib/getndelim2.c (SSIZE_MAX): Use same defn that getdelim.c
+       uses.
+
+2006-10-19  Bruno Haible  <bruno@clisp.org>
+
+       * lib/getndelim2.c (SSIZE_MAX): Provide fallback definition. Needed
+       for mingw.
+
+2006-10-19  Bruno Haible  <bruno@clisp.org>
+
+       * lib/openat-priv.h (EOPNOTSUPP): Provide fallback definition.
+       Needed for mingw.
+
+2006-10-19  Bruno Haible  <bruno@clisp.org>
+
+       * m4/size_max.m4 (gl_SIZE_MAX): Cache the result.
+
+2006-10-19  Bruno Haible  <bruno@clisp.org>
+
+       * m4/allocsa.m4 (gl_ALLOCSA): Invoke gl_FUNC_ALLOCA, don't AC_REQUIRE
+       it.
+
+2006-10-19  Bruno Haible  <bruno@clisp.org>
+
+       * m4/alloca.m4 (gl_FUNC_ALLOCA): Cache the result of the AC_EGREP_CPP
+       invocation.
+
+2006-10-19  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_create_testdir): Don't include ftruncate and
+       mountlist by default.
+
+2006-10-16  Bruno Haible  <bruno@clisp.org>
+
+       * lib/c-strstr.c: Include c-strstr.h.
+
+2006-10-18  Charles Wilson  <cygwin@cwilson.fastmail.fm>
+
+       * gnulib-tool: Don't clobber $sourcebase when $local_gnulib_dir ends
+       in a slash.
+
+2006-10-18  Bruno Haible  <bruno@clisp.org>
+
+       * lib/lock.h [C++]: Wrap definitions in extern "C".
+
+2006-10-18  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_emit_initmacro_end): Remove duplicates from the
+       gl_LIBOBJS list.
+
+2006-10-18  Bruno Haible  <bruno@clisp.org>
+
+       * lib/findprog.c (find_in_path): Avoid "gcc -Wwrite-strings" warning.
+
+2006-10-19  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/xstrtol.h: Include gettext.h.
+       (_STRTOL_ERROR): Wrap English-language formats inside gettext.
+       Problem reported by Eric Blake.
+       * modules/xstrtol (Depends-on): Add gettext-h.
+
+2006-10-19  Paul Eggert  <eggert@cs.ucla.edu>  (tiny change)
+
+       * lib/strftime.c (advance): New macro.
+       (add): Use it to avoid adding 0 to a FILE *.  FILE can be an
+       incomplete type, so you can't add 0 to it.  Problem and patch
+       reported by Eelco Dolstra for dietlibc.
+
+2006-10-18  Jim Meyering  <jim@meyering.net>
+
+       * lib/readutmp.c (desirable_utmp_entry): Use "bool" as the
+       type for a local, and rename it: s/up/user_proc/.
+
+2006-10-18  Sergey Poznyakoff  <gray@gnu.org.ua>
+
+       * lib/readutmp.c (desirable_utmp_entry): Implement new flag:
+       READ_UTMP_USER_PROCESS.
+       * lib/readutmp.h (READ_UTMP_USER_PROCESS): New flag
+
+2006-10-17  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/localcharset.c: Do not check HAVE_SETLOCALE.
+       * m4/localcharset.m4 (gl_LOCALCHARSET): Don't check for setlocale.
+
+2006-10-17  Eric Blake  <ebb9@byu.net>
+
+       * lib/sigprocmask.c (sigprocmask): Fix typo.
+
+       * m4/signalblocking.m4 (gl_PREREQ_SIGPROCMASK): Fix typo.
+
+       * modules/clean-temp (Makefile.am): Don't add to make output...
+       (configure.ac): ...instead define SIGNAL_SAFE_LIST inside
+       config.h.
+
+2006-10-17  Bruno Haible  <bruno@clisp.org>
+
+       * lib/gettext.h (gettext, ngettext, pgettext, npgettext): Define
+       differently if DEFAULT_TEXT_DOMAIN is set.
+
+2006-10-16  Bruno Haible  <bruno@clisp.org>
+
+       * lib/clean-temp.c: Include fwriteerror.h.
+
+2006-10-16  Bruno Haible  <bruno@clisp.org>
+
+       * getndelim2.m4 (gl_GETNDELIM2): Remove 2003-10-23 hack.
+
+2006-10-16  Bruno Haible  <bruno@clisp.org>
+
+       * m4/signalblocking.m4 (gl_PREREQ_SIGPROCMASK): Also test for sigset_t.
+       * lib/sigprocmask.h: Include <sys/types.h>.
+       (sigset_t): Use the system's definition if present.
+
+2006-10-17  Eric Blake  <ebb9@byu.net>
+
+       * lib/xvasprintf.c (includes): Assume config.h.
+       * lib/xasprintf.c (includes): Likewise.
+
+2006-10-16  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/fsusage.c (PROPAGATE_ALL_ONES): Don't assume uintmax_t is
+       at least as wide as intmax_t.
+
+2006-10-16  Alexandre Duret-Lutz  <adl@gnu.org>
+
+       (Imported from Automake.)
+       * build-aux/gnupload: Update to version 1.1 of directive file.
+
+2006-10-16  Eric Blake  <ebb9@byu.net>
+
+       * modules/configmake (Makefile.am): Add pkglibexecdir support, to
+       match Automake 1.10a.
+
+2006-10-14  Bruno Haible  <bruno@clisp.org>
+
+       * modules/sigprocmask: New file.
+       * lib/sigprocmask.h: New file.
+       * lib/sigprocmask.c: New file.
+       * m4/signalblocking.m4 (gl_SIGNALBLOCKING): Renamed from
+       gt_SIGNALBLOCKING. When not defining HAVE_POSIX_SIGNALBLOCKING,
+       request sigprocmask.o.
+       (gl_PREREQ_SIGPROCMASK): New macro.
+       * modules/fatal-signal (Files): Remove m4/signalblocking.m4.
+       (Depends-on): Add sigprocmask.
+       * m4/fatal-signal.m4 (gl_FATAL_SIGNAL): Don't require
+       gt_SIGNALBLOCKING. Test for 'raise' only once.
+       * lib/fatal-signal.c: Include sigprocmask.h.
+       (fatal_signal_set, init_fatal_signal_set, block_fatal_signals,
+       unblock_fatal_signals): Define always.
+       * MODULES.html.sh (Support for systems lacking POSIX:2001): Add
+       sigprocmask.
+
+2006-10-14  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Sync from Automake.
+       * build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
+       which incorrectly sets the mode of an existing destination
+       directory.  In some cases the unpatched install-sh could do the
+       equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
+       system.  We hope this is rare in practice, but it's clearly worth
+       fixing.  Problem reported by Alex Unleashed in
+       <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
+       Also, don't bother to check for -m bugs unless we're using -m;
+       suggested by Stepan Kasal.
+
+2006-10-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       Sync from Automake.
+       * build-aux/depcomp (gcc3): Put dependency extraction flags before the
+       `-c' flag, so they appear at the same position as in %FASTDEP%
+       mode in depend2.am.  Fixes build failure for FreeBSD's c89,
+       which ignores unknown options only after the first non-option.
+       Bug report against M4 by Nelson H. F. Beebe.
+
+2006-10-13  Jim Meyering  <jim@meyering.net>
+
+       Fix a bug in yesterday's change.
+       * lib/fts.c (fts_open): When using FTS_XDEV|FTS_NOSTAT,
+       p->fts_statp->st_dev would be used uninitialized.
+       Ensures that we always call fts_stat on the very first entry.
+       Miklos Szeredi reported that find -xdev stopped working.
+
 2006-10-12  Bruno Haible  <bruno@clisp.org>
 
        * gnulib-tool (func_get_automake_snippet): Append an automatically