+2006-11-01 Eric Blake <ebb9@byu.net>
+
+ * lib/mkstemp-safer.c (mkstemp_safer): Allow C++ compilation.
+
+ * m4/mkstemp.m4 (gl_FUNC_MKSTEMP): Allow C++ configuration.
+
+2006-10-29 Bruno Haible <bruno@clisp.org>
+
+ Make it compile in C++ mode.
+ * lib/full-write.c (full_rw): Add a cast.
+
+2006-11-01 Bruno Haible <bruno@clisp.org>
+
+ * gnulib-tool (func_get_automake_snippet): Change sed_combine_lines to
+ be POSIX compliant.
+ Reported by Roger Persson <perrog@gmail.com>.
+
+2006-11-01 Eric Blake <ebb9@byu.net>
+
+ * lib/getopt_.h: Fix comments.
+
+2006-10-31 Eric Blake <ebb9@byu.net>
+
+ * modules/tmpdir (Depends-on): Add sys_stat.
+ * modules/mkdtemp (Depends-on): Add tempname, drop unistd.
+ * lib/mkdtemp.c (gen_tempname): Remove; tempname covers this.
+ * lib/tmpdir.c (S_ISDIR): Simplify, thanks to sys_stat.
+ * m4/mkdtemp.m4 (gl_PREREQ_MKDTEMP): Simplify, thanks to
+ tempname.
+
+2006-10-31 Paul Eggert <eggert@cs.ucla.edu>
+
+ Avoid some C++ diagnostics reported by Bruno Haible.
+ * lib/quotearg.c (clone_quoting_options): Use xmemdup rather than
+ xmalloc.
+ (quotearg_alloc): Use xcharalloc rather than xmalloc.
+ (struct slotvec): Move to top level.
+ (quotearg_n_options): Rewrite to avoid xmalloc.
+ * lib/xalloc.h (xcharalloc): New function.
+ * (xrealloc, xnrealloc, x2realloc, x2nrealloc, xmemdup):
+ [defined __cplusplus]: Add function template that provides result
+ type propagation. This part of the change is from Bruno Haible.
+
+2006-10-29 Bruno Haible <bruno@clisp.org>
+
+ Make it compile in C++ mode.
+ * lib/striconv.c (mem_cd_iconv): Cast malloc/realloc result.
+ * lib/strnlen1.c (strnlen1): Cast memchr result.
+ * lib/mbchar.h (mb_copy): Rename arguments to 'new_mbc', 'old_mbc'.
+ * lib/clean-temp.c (string_equals, string_hash): Add casts.
+ (create_temp_dir): Rename local variable 'template'.
+ (compile_csharp_using_sscli): Add cast.
+ * lib/fatal-signal.c (at_fatal_signal): Cast xmalloc result.
+ * lib/findprog.c (find_in_path): Likewise.
+ * lib/linebreak.c (mbs_width_linebreaks): Cast malloc result.
+ * lib/wait-process.c (register_slave_subprocess): Likewise.
+
+2006-10-22 Bruno Haible <bruno@clisp.org>
+
+ * modules/tsearch: New file.
+ * lib/tsearch.h: New file.
+ * lib/tsearch.c: New file, from glibc-2.5 with small modifications.
+ * m4/tsearch.m4: New file.
+ * MODULES.html.sh (Support for systems lacking POSIX:2001): Add tsearch.
+
+2006-10-29 Eric Blake <ebb9@byu.net>
+
+ * lib/arcfour.c: Assume config.h.
+ * lib/arctwo.c: Likewise.
+ * lib/base64.c: Likewise.
+ * lib/check-version.c: Likewise.
+ * lib/crc.c: Likewise.
+ * lib/des.c: Likewise.
+ * lib/gc-gnulib.c: Likewise.
+ * lib/gc-libgcrypt.c: Likewise.
+ * lib/gc-pbkdf2-sha1.c: Likewise.
+ * lib/getaddrinfo.c: Likewise.
+ * lib/getdelim.c: Likewise.
+ * lib/getline.c: Likewise.
+ * lib/hmac-md5.c: Likewise.
+ * lib/hmac-sha1.c: Likewise.
+ * lib/iconvme.c: Likewise.
+ * lib/md2.c: Likewise.
+ * lib/md4.c: Likewise.
+ * lib/memxor.c: Likewise.
+ * lib/read-file.c: Likewise.
+ * lib/readline.c: Likewise.
+ * lib/rijndael-alg-fst.c: Likewise.
+ * lib/rijndael-api-fst.c: Likewise.
+ * lib/xgetdomainname.c: Likewise.
+
+2006-10-28 Eric Blake <ebb9@byu.net>
+
+ * lib/xstrndup.c: Assume config.h.
+
+2006-10-27 Paul Eggert <eggert@cs.ucla.edu>
+
+ Move stat.h-substitute stuff from lib/stat-macros.h to lib/stat_.h.
+ stat-macros.h is now for our own macros, whereas stat_h is for
+ macros in the <sys/stat.h> name space.
+ * lib/stat-macros.h: Remove copyright notice, as this file is now tiny.
+ (STAT_MACROS_H): Remove.
+ (S_IFMT, S_ISBLK, S_ISCHR, S_ISDIR, S_ISFIFO, S_ISLNK, S_ISNAM):
+ (S_ISMPB, S_ISMPC, S_ISNWK, S_ISREG, S_ISSOCK, S_ISDOOR, S_ISPORT):
+ (S_TYPEISMQ, S_TYPEISTMO, S_TYPEISSEM, S_TYPEISSHM, S_ISCTG, S_ISOFD):
+ (S_ISOFL, S_ISWHT, S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IRGRP):
+ (S_IROTH, S_IWUSR, S_IWGRP, S_IWOTH, S_IXUSR, S_IXGRP, S_IXOTH):
+ (S_IRWXU, S_IRWXG, S_IRWXO, S_IXUGO, S_IRWXUGO):
+ Move these macros to ...
+ * lib/stat_.h: here. Don't include stat-macros.h.
+ * lib/canonicalize.c: Don't include stat-macros.h.
+ * lib/chown.c: Likewise.
+ * lib/euidaccess.c: Likewise.
+ * lib/file-type.c: Likewise.
+ * lib/filemode.c: Likewise.
+ * lib/glob.c: Likewise.
+ * lib/isapipe.c: Likewise.
+ * lib/lchown.c: Likewise.
+ * lib/lstat.c: Likewise.
+ * lib/mkdir-p.c: Likewise.
+ * lib/rmdir.c: Likewise.
+ * m4/lchown.m4 (gl_FUNC_LCHOWN): Don't require gl_STAT_MACROS.
+ * m4/sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Don't check for io.h
+ unless mkdir isn't declared, to speed up 'configure'.
+ Always create sys/stat.h, since it's unlikely any real sys/stat.h
+ would define all the S_* symbols.
+ * modules/canonicalize (Depends-on):
+ Depend on sys_stat, not stat-macros.
+ * modules/chown: Likewise.
+ * modules/euidaccess: Likewise.
+ * modules/filemode: Likewise.
+ * modules/file-type: Likewise.
+ * modules/glob: Likewise.
+ * modules/isapipe: Likewise.
+ * modules/lchown: Likewise.
+ * modules/lstat: Likewise.
+ * modules/mkancesdirs: Likewise.
+ * modules/rmdir: Likewise.
+ * modules/mkdir-p (Depends-on): Also depend on sys_stat.
+ * modules/modechange: Likewise.
+ * modules/stat-macros (Files): Remove m4/stat-macros.m4.
+ (configure.ac): Remove gl_STAT_MACROS.
+ * modules/sys_stat (Depends-on): Remove stat-macros.
+
+2006-10-27 Bruno Haible <bruno@clisp.org>
+
+ * m4/signed.m4: Remove file.
+ * m4/vasnprintf.m4 (gl_PREREQ_PRINTF_ARGS_: Remove bh_C_SIGNED
+ invocation.
+ * modules/vasnprintf (Files): Remove m4/signed.m4.
+
+2006-10-27 Bruno Haible <bruno@clisp.org>
+
+ Update to GNU gettext 0.16.
+ * modules/gettext (Files): Add m4/intl.m4, m4/intldir.m4. Remove
+ m4/inttypes-h.m4, m4/signed.m4.
+ * m4/gettext.m4: Update to GNU gettext 0.16.
+ * m4/intl.m4: New file, from GNU gettext.
+ * m4/intldir.m4: New file, from GNU gettext.
+ * config/srclist.txt: Update
+
+2006-10-27 Eric Blake <ebb9@byu.net>
+
+ * MODULES.html.sh: Document tempname.
+ * modules/mkstemp (Depends-on): Add tempname, and drop transitive
+ dependencies.
+ (Files): Move lib/tempname.c...
+ * modules/tempname: ...to this new module.
+ * m4/mkstemp.m4 (gl_FUNC_MKSTEMP): Remove tempname checks.
+ (gl_PREREQ_TEMPNAME): Move...
+ * m4/tempname.m4: ...to this new file.
+ * lib/mkstemp.c (includes) [!_LIBC]: Use tempname.h.
+ * modules/sys_stat (Depends-on): Add stat-macros.
+ * lib/stat_.h (includes): Pick up stat macros.
+ * m4/sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Replace <sys/stat.h>
+ if stat macros are broken.
+ * lib/tempname.c (includes): No need to include "stat-macros.h".
+ (__gen_tempname) [!_LIBC]: Expose as gen_tempname.
+ (direxists, __path_search) [!_LIBC]: Don't compile these in
+ gnulib; the tmpdir module covers that.
+ * lib/tempname.h: New file.
+
+2006-10-26 Paul Eggert <eggert@cs.ucla.edu>
+
+ * COPYING: Explain how gnulib-tool converts licence headers.
+ Almost all wording by Eric Blake.
+
+2006-10-25 Paul Eggert <eggert@cs.ucla.edu>
+
+ * lib/mbchar.h (is_basic_table): Make read-only.
+ * lib/mbchar.c (is_basic_table): Likewise.
+ Reported by John Darrington.
+
+2006-10-25 Bruno Haible <bruno@clisp.org>
+
+ * lib/progname.h (set_program_name): Undefine before defining.
+
+2006-10-25 Bruno Haible <bruno@clisp.org>
+
+ * lib/gettext.h (_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS): Define to
+ false for non-gcc C++ compilers.
+ Reported by Nelson H. F. Beebe <beebe@math.utah.edu>.
+
+2006-10-24 Bruno Haible <bruno@clisp.org>
+
+ * lib/striconv.c (mem_cd_iconv, str_cd_iconv): Treat all non-GNU
+ iconv implementations like Irix iconv.
+
+2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
+
+ * modules/vararrays: New file.
+ * m4/vararrays.m4: New file, taken from diffutils.
+ * MODULES.html.sh: New module vararrays.
+
+2006-10-24 Karl Berry <karl@gnu.org>
+
+ * doc/gnulib-intro.texi: --- instead of --; non-naive naive.
+ Don't call GNU Unix.
+
+2006-10-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * users.txt: Add Libtool.
+
+ Sync from Libtool:
+
+ 2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
+
+ * lib/argz.c: Remove check for HAVE_CONFIG_H, to conform
+ to gnulib's policy of including config.h unconditionally.
+
+2006-10-24 Bruno Haible <bruno@clisp.org>
+
+ * modules/wcwidth (Files): Add m4/wint_t.m4.
+ * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Require gt_TYPE_WINT_T.
+ * lib/wcwidth.h (iswprint): Use 'int' if 'wint_t' is not defined.
+
+2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
+
+ * lib/getdate.y (yyerror): Make the arguments pointer-to-const,
+ to pacify GCC with some -W flags enabled. Problem reported by
+ Bruno Haible.
+
+2006-10-24 Jim Meyering <jim@meyering.net>
+
+ * MODULES.html.sh: Remove uinttostr. It's not a module.
+ Reported by Karl Berry.
+
+2006-10-23 Bruno Haible <bruno@clisp.org>
+
+ * lib/fts.c (fts_build): Move variable declaration, for C89 compliance.
+
+2006-10-24 Bruno Haible <bruno@clisp.org>
+
+ * lib/gl_list.h: Use C comment style, not C++ comment style.
+
+2006-10-23 Eric Blake <ebb9@byu.net>
+
+ * lib/getaddrinfo.c (includes): Add missing include.
+
+2006-10-23 Bruno Haible <bruno@clisp.org>
+ Paul Eggert <eggert@cs.ucla.edu>
+
+ Ability to rename obstack_free.
+ * lib/obstack.h (__obstack_free): New macro. Declare instead of
+ obstack_free.
+ (obstack_free): Invoke the __obstack_free macro.
+ * lib/obstack.c (obstack_free): Use __obstack_free macro.
+
+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.
* lib/basename.c (base_name): Add an assertion.
-2000-07-23 Bruno Haible <clisp.cons.org>
+2000-07-23 Bruno Haible <haible@clisp.cons.org>
* lib/quotearg.c: When the system forces us to redefine mbstate_t,
shadow its mbsinit function.