wctype: Make it work in C++ mode on OSF/1 5.1.
[gnulib.git] / ChangeLog
index c2a99f0..f9020ab 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,109 @@
 2010-12-19  Bruno Haible  <bruno@clisp.org>
 
+       wctype: Make it work in C++ mode on OSF/1 5.1.
+       * lib/wctype.in.h (iswblank): Declare but not define here.
+       * lib/iswblank.c: New file, extracted from lib/wctype.in.h.
+       * m4/wctype_h.m4 (gl_WCTYPE_H): Arrange to compile it if needed.
+       * modules/wctype (Files): Add lib/iswblank.c.
+
+2010-12-19  Bruno Haible  <bruno@clisp.org>
+
+       signal: Document problem with type of SIGRTMIN, SIGRTMAX on OSF/1 5.1.
+       * doc/posix-headers/signal.texi: Document OSF/1 5.1 problem.
+       * lib/strsignal.c (strsignal): Cast SIGRTMIN to 'int'.
+
+2010-12-19  Bruno Haible  <bruno@clisp.org>
+
+       sys_socket: Use POSIX compatible declarations on OSF/1 5.1.
+       * m4/sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): On OSF/1, define
+       _POSIX_PII_SOCKET.
+       * doc/posix-functions/recv.texi: Document the OSF/1 problem.
+       * doc/posix-functions/recvfrom.texi: Likewise.
+       * doc/posix-functions/send.texi: Likewise.
+       * doc/posix-functions/sendto.texi: Likewise.
+
+2010-12-19  Bruno Haible  <bruno@clisp.org>
+
+       tcgetsid: Add missing declaration on OSF/1 5.1.
+       * lib/termios.in.h (tcgetsid): Test HAVE_DECL_TCGETSID instead of
+       HAVE_TCGETSID.
+       * m4/tcgetsid.m4 (gl_FUNC_TCGETSID): Test whether tcgetsid is declared.
+       Don't set HAVE_TCGETSID.
+       * m4/termios_h.m4 (gl_TERMIOS_H_DEFAULTS): Initialize
+       HAVE_DECL_TCGETSID, not HAVE_TCGETSID.
+       * modules/termios (Makefile.am): Substitute HAVE_DECL_TCGETSID, not
+       HAVE_TCGETSID.
+       * doc/posix-functions/tcgetsid.texi: Mention the OSF/1 5.1 problem.
+
+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.