Avoid clash with mingw's definition of __argc and __argv as macros.
[gnulib.git] / ChangeLog
index 9a5beab..a9eb085 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,168 @@
+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