+2010-12-19 Bruno Haible <bruno@clisp.org>
+
+ stdio: Fix problem with popen() declaration on OSF/1 5.1.
+ * lib/stdio.in.h: During the include_next statement, let recursive
+ includes of this file include only the system header file.
+
+2010-12-19 Bruno Haible <bruno@clisp.org>
+
+ iconv_open: Fix regression from 2010-12-04.
+ * m4/iconv_open.m4 (gl_FUNC_ICONV_OPEN_UTF): Fix typo.
+ Reported by Noah Lavine <noah.b.lavine@gmail.com>.
+
+2010-12-19 Bruno Haible <bruno@clisp.org>
+
+ stdbool test: Avoid a gcc warning.
+ * tests/test-stdbool.c (main): Fail if e1 is false.
+ Reported by Jim Meyering.
+
+2010-12-19 Jim Meyering <meyering@redhat.com>
+
+ setenv: restore to working order
+ $HAVE_SETENV is used in gl_FUNC_SETENV, yet its definitions were
+ mistakenly removed.
+ * m4/setenv.m4 (gl_FUNC_SETENV_SEPARATE): Restore code to set
+ HAVE_SETENV.
+ * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Restore code to initialize
+ HAVE_SETENV.
+
+2010-12-19 Bruno Haible <bruno@clisp.org>
+
+ Document some different function declarations on OSF/1 5.1.
+ * doc/posix-functions/gai_strerror.texi: Mention different declaration.
+ * doc/posix-functions/inet_ntop.texi: Likewise.
+ * doc/posix-functions/gethostname.texi: Likewise.
+ * lib/unistd.in.h (gethostname): Update comment.
+
+2010-12-19 Bruno Haible <bruno@clisp.org>
+
+ doc: Mention vasprintf-posix module.
+ * doc/glibc-functions/asprintf.texi: Mention the workarounds present in
+ the 'vasprintf-posix' module.
+ * doc/glibc-functions/vasprintf.texi: Likewise.
+
+2010-12-19 Bruno Haible <bruno@clisp.org>
+
+ unsetenv: Add missing declaration on OSF/1 5.1.
+ * lib/stdlib.in.h (setenv): Test HAVE_DECL_UNSETENV, not HAVE_UNSETENV.
+ * m4/setenv.m4 (gl_FUNC_UNSETENV): Test whether unsetenv is declared.
+ Don't set HAVE_UNSETENV. In the test program, set _BSD.
+ * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize HAVE_DECL_UNSETENV,
+ not HAVE_UNSETENV.
+ * modules/stdlib (Makefile.am): Substitute HAVE_DECL_UNSETENV, not
+ HAVE_UNSETENV.
+ * doc/posix-functions/unsetenv.texi: Mention the OSF/1 5.1 problem.
+
+2010-12-19 Bruno Haible <bruno@clisp.org>
+
+ setenv: Add missing declaration on OSF/1 5.1.
+ * lib/stdlib.in.h (setenv): Test HAVE_DECL_SETENV, not HAVE_SETENV.
+ * m4/setenv.m4 (gl_FUNC_SETENV_SEPARATE): Test whether setenv is
+ declared. Don't set HAVE_SETENV.
+ * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize HAVE_DECL_SETENV,
+ not HAVE_SETENV.
+ * modules/stdlib (Makefile.am): Substitute HAVE_DECL_SETENV, not
+ HAVE_SETENV.
+ * doc/posix-functions/setenv.texi: Mention the OSF/1 5.1 problem.
+
+2010-12-19 Bruno Haible <bruno@clisp.org>
+
+ nl_langinfo tests: Avoid gcc warning.
+ * tests/test-nl_langinfo.c: Don't enable the GCC pragma for GCC 4.2.
+
+2010-12-19 Bruno Haible <bruno@clisp.org>
+
+ mknod: Avoid error in C++ mode on OSF/1 with GCC.
+ * lib/sys_stat.in.h (mknod): Use _GL_CXXALIAS_SYS_CAST instead of
+ _GL_CXXALIAS_SYS.
+
+2010-12-19 Bruno Haible <bruno@clisp.org>
+
+ stdbool: Relax test.
+ * tests/test-stdbool.c (e): Don't require that casts from a variable's
+ address to 'bool' work in static initializer, for compilers other than
+ GCC.
+
+2010-12-19 Bruno Haible <bruno@clisp.org>
+
+ ftello: Add missing declaration on OSF/1 5.1.
+ * lib/stdio.in.h (ftello): Test HAVE_DECL_FTELLO, not HAVE_FTELLO.
+ * m4/ftello.m4 (gl_FUNC_FTELLO): Test whether ftello is declared.
+ * m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Initialize HAVE_DECL_FTELLO.
+ * modules/stdio (Makefile.am): Substitute HAVE_DECL_FTELLO.
+ * doc/posix-functions/ftello.texi: Mention the OSF/1 5.1 problem.
+
+2010-12-19 Bruno Haible <bruno@clisp.org>
+
+ fseeko: Add missing declaration on OSF/1 5.1.
+ * lib/stdio.in.h (fseeko): Test HAVE_DECL_FSEEKO, not HAVE_FSEEKO.
+ * m4/fseeko.m4 (gl_FUNC_FSEEKO): Test whether fseeko is declared.
+ * m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Initialize HAVE_DECL_FSEEKO.
+ * modules/stdio (Makefile.am): Substitute HAVE_DECL_FSEEKO.
+ * doc/posix-functions/fseeko.texi: Mention the OSF/1 5.1 problem.
+
+2010-12-19 Bruno Haible <bruno@clisp.org>
+
+ fchdir: Add missing declaration on OSF/1 5.1.
+ * lib/unistd.in.h (fchdir): Provide declaration if systems lacks it.
+ * m4/fchdir.m4 (gl_FUNC_FCHDIR): Check whether fchdir is declared.
+ * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize HAVE_DECL_FCHDIR.
+ * modules/unistd (Makefile.am): Substitute HAVE_DECL_FCHDIR.
+ * doc/posix-functions/fchdir.texi: Mention the OSF/1 5.1 problem.
+
+2010-12-19 Bruno Haible <bruno@clisp.org>
+
+ relocatable-prog-wrapper: Separate from relocatable-prog.
+ * modules/relocatable-prog (Makefile.am): Define uninstall-hook and
+ uninstall-relocwrapper rule here.
+ * modules/relocatable-prog-wrapper (Makefile.am): ... not here.
+ Reported by Ian Beckwith <ianb@erislabs.net>.
+
+2010-12-19 Bruno Haible <bruno@clisp.org>
+
+ unistr/u8-mbsnlen: Add missing dependency.
+ * modules/unistr/u8-mbsnlen (Depends-on): Add unistr/u8-mbtouc.
+ Reported by Ian Beckwith <ianb@erislabs.net>.
+
+2010-12-19 Bruno Haible <bruno@clisp.org>
+
+ iconv: Make it possible again to use this module without 'iconv-h'.
+ * modules/iconv (configure.ac): Don't invoke gl_ICONV_MODULE_INDICATOR
+ if it is not defined.
+ Reported by Ian Beckwith <ianb@erislabs.net>.
+
+2010-12-18 Paul Eggert <eggert@cs.ucla.edu>
+
+ acl: port to Solaris 8 when copying from tmpfs to ufs
+ * lib/copy-acl.c (qcopy_acl): Also allow EINVAL as an ignorable
+ error number. Problem observed on Solaris 8 with latest
+ coreutils, with "mv A B", where A is on a tmpfs file system and B
+ is on a ufs file system. This caused coreutils' mv/part-symlink
+ test to fail.
+
+ tests: set fail=0 at start
+ * tests/init.sh (setup_): Move fail=0 initialization here ...
+ (mktempd_): ... from here, so that tests can rely on fail being
+ set to 0 initially. This fixes a problem in coreutils; see:
+ http://lists.gnu.org/archive/html/coreutils/2010-12/msg00083.html
+
+2010-12-18 Bruno Haible <bruno@clisp.org>
+
+ memmem-simple: Stylistic changes.
+ * m4/memmem.m4 (gl_FUNC_MEMMEM_SIMPLE): Avoid possible gcc warning.
+ Fix preprocessor directive indentation.
+
+2010-12-15 Pádraig Brady <P@draigBrady.com>
+
+ memmem, memmem-simple: reorganize and expand empty needle check
+ * m4/memmem.m4 (gl_FUNC_MEMMEM_SIMPLE, gl_FUNC_MEMMEM): Move all
+ functional checks to memmem-simple so that one has a fully functional
+ memmem by using just this module.
+ Restrict the performance only check to the memmem module.
+ Also expand the empty needle check to ensure the correct
+ pointer is returned, not just a non NULL pointer.
+ * doc/glibc-functions/memmem.texi: Rearrange the portability
+ documentation to correlate with the rearranged checks.
+ Clarify exactly how the memmem and memmem-simple modules
+ relate to each other.
+
+2010-12-15 Pádraig Brady <P@draigBrady.com>
+ Bruno Haible <bruno@clisp.org>
+
+ Improve cross-compilation guesses for uClibc.
+ * m4/memmem.m4 (gl_FUNC_MEMMEM_SIMPLE): When cross-compiling, assume
+ that uClibc does not have the glibc bug.
+ * m4/strcasestr.m4 (gl_FUNC_STRCASESTR_SIMPLE): Likewise.
+ * m4/strstr.m4 (gl_FUNC_STRSTR_SIMPLE): Likewise.
+
+2010-12-14 Eric Blake <eblake@redhat.com>
+
+ configmake: provide fallbacks for oldest supported autotools
+ * m4/configmake.m4: New file.
+ * modules/configmake (Files): Ship it.
+ (configure.ac): Use it to guarantee fallbacks.
+
+2010-12-13 Pádraig Brady <P@draigBrady.com>
+
+ read-file: Improve handling of large files
+ * lib/read-file.c (fread_file): Minimize realloc()s
+ for regular files, and better manage sizes around SIZE_MAX.
+
+2010-12-13 Eric Blake <eblake@redhat.com>
+
+ cloexec, fcntl: relax license
+ * modules/cloexec (License): Change from LGPLv3+ to LGPLv2+, with
+ consent from all contributors.
+ * modules/fcntl (License): Likewise.
+
+2010-12-10 Bruno Haible <bruno@clisp.org>
+
+ Tests for module 'pipe-posix'.
+ * modules/pipe-posix-tests: New file.
+ * tests/test-pipe.c: New file, based on tests/test-pipe2.c.
+
+2010-12-10 Bruno Haible <bruno@clisp.org>
+
+ pipe-posix: Make it work in C++ mode.
+ * lib/unistd.in.h: Don't include <io.h>, <fcntl.h> for pipe.
+ (pipe): Use common idiom, not a macro definition.
+ * lib/pipe.c: New file.
+ * m4/pipe.m4: New file.
+ * modules/pipe-posix (Description): Enhance.
+ (Files): Add lib/pipe.c, m4/pipe.m4.
+ (configure.ac): Invoke gl_FUNC_PIPE.
+ * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize HAVE_PIPE.
+ * modules/unistd (Makefile.am): Substitute HAVE_PIPE.
+ * tests/test-unistd-c++.cc: Check the signature of pipe.
+
+2010-12-10 Bruno Haible <bruno@clisp.org>
+
+ Rename module 'pipe' to 'spawn-pipe'.
+ * modules/spawn-pipe: New file, renamed from modules/pipe.
+ (Files, configure.ac, Makefile.am): Update.
+ (Include): Mention "spawn-pipe.h" instead of "pipe.h".
+ * modules/pipe: Reduce to an obsolete indirection to 'spawn-pipe'.
+ * lib/spawn-pipe.h: New file, renamed from lib/pipe.h.
+ * lib/spawn-pipe.c: New file, renamed from lib/pipe.c. Include
+ "spawn-pipe.h" instead of "pipe.h".
+ * m4/spawn-pipe.m4: New file, renamed from m4/pipe.m4. Rename gl_PIPE
+ to gl_SPAWN_PIPE.
+ * modules/spawn-pipe-tests: New file, renamed from modules/pipe-tests.
+ (Files, Makefile.am): Update.
+ * tests/test-spawn-pipe.sh: New file, renamed from tests/test-pipe.sh.
+ Update.
+ * tests/test-spawn-pipe.c: New file, renamed from tests/test-pipe.c.
+ Include "spawn-pipe.h" instead of "pipe.h".
+ * lib/csharpcomp.c: Include "spawn-pipe.h" instead of "pipe.h".
+ * lib/javacomp.c: Likewise.
+ * lib/javaversion.c: Likewise.
+ * lib/pipe-filter-gi.c: Likewise.
+ * lib/pipe-filter-ii.c: Likewise.
+ * modules/csharpcomp (Depends-on): Add 'spawn-pipe', remove 'pipe'.
+ * modules/javacomp (Depends-on): Likewise.
+ * modules/javaversion (Depends-on): Likewise.
+ * modules/pipe-filter-gi (Depends-on): Likewise.
+ * modules/pipe-filter-ii (Depends-on): Likewise.
+ * MODULES.html.sh (Executing programs): Update.
+ * NEWS: Mention the change.
+
+2010-12-10 Eric Blake <eblake@redhat.com>
+
+ pipe-posix: new module
+ * modules/pipe-posix: New file.
+ * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Set default.
+ (gl_UNISTD_H): Check for declaration.
+ * modules/unistd (Makefile.am): Substitute it.
+ * lib/unistd.in.h (pipe): Provide it for mingw.
+ * doc/posix-functions/pipe.texi (pipe): Update documentation.
+ * MODULES.html.sh (File descriptor based Input/Output): Likewise.
+
+2010-12-07 Bruno Haible <bruno@clisp.org>
+
+ unistr/u8-strcmp: Avoid collision with libc function on Solaris 11.
+ * lib/unistr.in.h (u8_strcmp) [__sun]: Declare with real name
+ u8_strcmp_gnu.
+ * modules/unistr/u8-strcmp (configure.ac): Bump version number.
+
2010-12-06 Bruno Haible <bruno@clisp.org>
Update internal documentation.