getlogin_r: Add missing declaration on HP-UX 11.
[gnulib.git] / ChangeLog
index 4d83a57..385df69 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,225 @@
+2010-12-20  Bruno Haible  <bruno@clisp.org>
+
+       getlogin_r: Add missing declaration on HP-UX 11.
+       * m4/getlogin_r.m4 (gl_FUNC_GETLOGIN_R): Test whether getlogin_r is
+       declared also when it exists as a function.
+       * doc/posix-functions/getlogin_r.texi: Document this workaround.
+
+2010-12-20  Bruno Haible  <bruno@clisp.org>
+
+       wcsrtombs: Don't confuse mbstate_t with rpl_mbstate_t.
+       * lib/wcsrtombs.c: If gnulib overrides mbstate_t, define wcsrtombs
+       through wcrtomb.
+
+2010-12-19  Paul Eggert  <eggert@cs.ucla.edu>
+
+       ftoastr: fix comment
+       * lib/ftoastr.h: Fix typo in comment.  Noted by Ben Pfaff in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2010-12/msg00130.html>.
+
+2010-12-19  Bruno Haible  <bruno@clisp.org>
+
+       isnan: Ensure it is a macro.
+       * lib/math.in.h (isnan): Define as a macro if not already a macro.
+       * doc/posix-functions/isnan.texi: Mention problem on IRIX, OSF/1,
+       Solaris.
+
+2010-12-19  Bruno Haible  <bruno@clisp.org>
+
+       ldexpl test: Fix link error on OSF/1 5.1.
+       * modules/ldexpl-tests (Makefile.am): Define test_ldexpl_LDADD.
+
+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.
+
+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