stdio: Fix problem with popen() declaration on OSF/1 5.1.
[gnulib.git] / ChangeLog
index 1bea88a..62a20ce 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,90 @@
 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.