X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=2dc4aebf8a1c1a71304bf16889d4a76b24277473;hb=998bbb3b39d3c7245000b03b2ce16996da2ad256;hp=1bea88a5230eeb1e142d4ea70d0b19a2da97e475;hpb=eedb2b7b21f577d9b1ce0fbd2bbe3467a2ff165f;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index 1bea88a52..2dc4aebf8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,536 @@ +2010-12-22 Paul Eggert + + test-posixtm.c: add two tests + * tests/test-posixtm.c: Add two tests, to highlight the + bug in Solaris 10 (and earlier) localtime. Gnulib doesn't work + around this bug; this is merely to document it. + +2010-12-22 Bruno Haible + + getlogin_r: Work around portability problem on OSF/1. + * m4/getlogin_r.m4 (gl_FUNC_GETLOGIN_R): Detect the OSF/1 problem. + * lib/unistd.in.h (getlogin_r): Replace if REPLACE_GETLOGIN_R is set. + * lib/getlogin_r.c (getlogin_r): When getlogin_r exists, invoke it and + test for a truncated result. + * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize REPLACE_GETLOGIN_R. + * modules/unistd (Makefile.am): Substitute REPLACE_GETLOGIN_R. + * modules/getlogin_r (Depends-on): Add memchr. + * doc/posix-functions/getlogin_r.texi: Mention the OSF/1 problem. + +2010-12-22 Bruno Haible + + ptsname: Avoid test failure on OSF/1 5.1. + * modules/ptsname-tests (Depends-on): Add 'same-inode'. + * tests/test-ptsname.c: Include , same-inode.h. + (same_slave): New function. + (main): Use it to compare ptsname's result with the expected file name. + +2010-12-22 Bruno Haible + + Port extended stdio modules to HP NonStop Kernel. + * lib/stdio-impl.h (_IOERR, _IOREAD, _IOWRT, _IORW) [__TANDEM]: New + macros. + * lib/fbufmode.c: Update comments. + * lib/fflush.c: Likewise. + * lib/fpurge.c: Likewise. + * lib/freadable.c: Likewise. + * lib/freadahead.c: Likewise. + * lib/freading.c: Likewise. + * lib/freadptr.c: Likewise. + * lib/freadseek.c: Likewise. + * lib/fseeko.c: Likewise. + * lib/fseterr.c: Likewise. + * lib/fwritable.c: Likewise. + * lib/fwriting.c: Likewise. + Reported by Joachim Schmitz . + +2010-12-22 Bruno Haible + + ttyname_r: Work around bug on OSF/1 5.1. + * doc/posix-functions/ttyname_r.texi: Mention the OSF/1 bug. + * m4/ttyname_r.m4 (gl_FUNC_TTYNAME_R): Detect the OSF/1 bug. Say "no" + instead of "guessing no" when the OSF/1 bug or the Solaris bug is + present. + * lib/ttyname_r.c (ttyname_r): Update comments. + +2010-12-22 Bruno Haible + + round: Implement result sign according to IEEE 754. + * lib/round.c (MIN, MINUS_ZERO): New macros. + (FLOOR_FREE_ROUND): Return -0.0 for -0.5 < x < 0. + * tests/test-roundf-ieee.c (main): Test also values between -1 and 1. + * tests/test-round-ieee.c (main): Likewise. + * tests/test-roundl-ieee.c (main): Likewise. + + trunc: Implement result sign according to IEEE 754. + * lib/trunc.c (MIN, MINUS_ZERO): New macros. + (FUNC): Return +0.0 for 0 < x < 1 and -0.0 for -1 < x < 0. + * tests/test-trunc2.c: Include minus-zero.h. + (MINUS_ZERO): New macro. + (trunc_reference): Keep in sync with lib/trunc.c. + * tests/test-truncf2.c: Include minus-zero.h. + (MINUS_ZERO): New macro. + (truncf_reference): Keep in sync with lib/trunc.c. + * tests/test-truncf-ieee.c (main): Test also values between -1 and 1. + * tests/test-trunc-ieee.c (main): Likewise. + * tests/test-truncl-ieee.c (main): Likewise. + + ceil: Implement result sign according to IEEE 754. + * lib/ceil.c (MIN, MINUS_ZERO): New macros. + (FUNC): Return -0.0 for -1 < x < 0. + * tests/test-ceil2.c: Include minus-zero.h. + (MINUS_ZERO): New macro. + (ceil_reference): Keep in sync with lib/ceil.c. + * tests/test-ceilf2.c: Include minus-zero.h. + (MINUS_ZERO): New macro. + (ceilf_reference): Keep in sync with lib/ceil.c. + * tests/test-ceilf-ieee.c (main): Test also values between -1 and 1. + * tests/test-ceil-ieee.c (main): Likewise. + * tests/test-ceill-ieee.c (main): Likewise. + + floor: Implement result sign according to IEEE 754. + * lib/floor.c (FUNC): Return +0.0 for 0 < x < 1. + * tests/test-floor2.c (floor_reference): Keep in sync with lib/floor.c. + * tests/test-floorf2.c (floorf_reference): Likewise. + * tests/test-floorf-ieee.c (main): Test also values between -1 and 1. + * tests/test-floor-ieee.c (main): Likewise. + * tests/test-floorl-ieee.c (main): Likewise. + +2010-12-22 Bruno Haible + + getaddrinfo: Update doc. + * doc/posix-functions/gai_strerror.texi: Return type is also different + on AIX and HP-UX. + +2010-12-22 Paul Eggert + + getaddrinfo, inet_ntop: Update doc for Solaris. + * doc/posix-functions/gai_strerror.texi: Return type is also an + issue on Solaris 9 and earlier. + * doc/posix-functions/inet_ntop.texi: 4th arg type is also an issue + on Solaris 10 and earlier. + +2010-12-21 Bruno Haible + + New module 'roundl-ieee'. + * modules/roundl-ieee: New file. + * m4/roundl.m4 (gl_FUNC_ROUNDL): If gl_FUNC_ROUNDL_IEEE is also used, + test whether roundl works according to ISO C 99 with IEC 60559. + * m4/roundl-ieee.m4: New file. + * modules/roundl-ieee-tests: New file. + * tests/test-roundl-ieee.c: New file, based on tests/test-roundl.c. + * tests/test-roundl.c (main): Remove signbit tests. + * modules/roundl-tests (Depends-on): Remove signbit. + * doc/posix-functions/roundl.texi: Mention the new module. + +2010-12-21 Bruno Haible + + New module 'truncl-ieee'. + * modules/truncl-ieee: New file. + * modules/truncl-ieee-tests: New file. + * tests/test-truncl-ieee.c: New file, based on tests/test-truncl.c. + * tests/test-truncl.c (main): Remove signbit tests. + * modules/truncl-tests (Depends-on): Remove signbit. + * doc/posix-functions/truncl.texi: Mention the new module. + +2010-12-21 Bruno Haible + + New module 'ceill-ieee'. + * modules/ceill-ieee: New file. + * modules/ceill-ieee-tests: New file. + * tests/test-ceill-ieee.c: New file, based on tests/test-ceill.c. + * tests/test-ceill.c (main): Remove signbit tests. + * modules/ceill-tests (Depends-on): Remove signbit. + * doc/posix-functions/ceill.texi: Mention the new module. + +2010-12-21 Bruno Haible + + New module 'floorl-ieee'. + * modules/floorl-ieee: New file. + * modules/floorl-ieee-tests: New file. + * tests/test-floorl-ieee.c: New file, based on tests/test-floorl.c. + * tests/test-floorl.c (main): Remove signbit tests. + * modules/floorl-tests (Depends-on): Remove signbit. + * doc/posix-functions/floorl.texi: Mention the new module. + +2010-12-21 Bruno Haible + + New module 'round-ieee'. + * modules/round-ieee: New file. + * m4/round.m4 (gl_FUNC_ROUND): If gl_FUNC_ROUND_IEEE is also used, test + whether round works according to ISO C 99 with IEC 60559. + * m4/round-ieee.m4: New file. + * modules/round-ieee-tests: New file. + * tests/test-round-ieee.c: New file, based on tests/test-roundf-ieee.c. + * tests/test-round1.c (main): Remove signbit tests. + * modules/round-tests (Depends-on): Remove 'signbit'. + * doc/posix-functions/round.texi: Mention the new module. + +2010-12-21 Bruno Haible + + New module 'trunc-ieee'. + * modules/trunc-ieee: New file. + * m4/trunc.m4 (gl_FUNC_TRUNC): If gl_FUNC_TRUNC_IEEE is also used, test + whether trunc works according to ISO C 99 with IEC 60559. + * m4/trunc-ieee.m4: New file. + * lib/math.in.h (trunc): Replace if REPLACE_TRUNC is set. + * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_TRUNC. + * modules/math (Makefile.am): Substitute REPLACE_TRUNC. + * modules/trunc-ieee-tests: New file. + * tests/test-trunc-ieee.c: New file, based on tests/test-truncf-ieee.c. + * tests/test-trunc1.c (main): Remove signbit tests. + * modules/trunc-tests (Depends-on): Remove 'signbit'. + * doc/posix-functions/trunc.texi: Mention the new module. + +2010-12-21 Bruno Haible + + New module 'ceil-ieee'. + * modules/ceil-ieee: New file. + * m4/ceil.m4 (gl_FUNC_CEIL): Require gl_MATH_H_DEFAULTS. If + gl_FUNC_CEIL_IEEE is also used, test whether ceil works according to + ISO C 99 with IEC 60559. + * m4/ceil-ieee.m4: New file. + * modules/ceil (Files): Add lib/ceil.c. + (Depends-on): Add 'float'. + (configure.ac): Invoke gl_MATH_MODULE_INDICATOR. + * lib/math.in.h (ceil): New declaration. + * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize GNULIB_CEIL, + REPLACE_CEIL. + * modules/math (Makefile.am): Substitute GNULIB_CEIL, REPLACE_CEIL. + * modules/ceil-ieee-tests: New file. + * tests/test-ceil-ieee.c: New file, based on tests/test-ceilf-ieee.c. + * tests/test-math-c++.cc: Check the signature of 'ceil'. + * doc/posix-functions/ceil.texi: Mention the new module. + +2010-12-21 Bruno Haible + + New module 'floor-ieee'. + * modules/floor-ieee: New file. + * m4/floor.m4 (gl_FUNC_FLOOR): Require gl_MATH_H_DEFAULTS. If + gl_FUNC_FLOOR_IEEE is also used, test whether floor works according to + ISO C 99 with IEC 60559. + * m4/floor-ieee.m4: New file. + * modules/floor (Files): Add lib/floor.c. + (Depends-on): Add 'float'. + (configure.ac): Invoke gl_MATH_MODULE_INDICATOR. + * lib/math.in.h (floor): New declaration. + * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize GNULIB_FLOOR, + REPLACE_FLOOR. + * modules/math (Makefile.am): Substitute GNULIB_FLOOR, REPLACE_FLOOR. + * modules/floor-ieee-tests: New file. + * tests/test-floor-ieee.c: New file, based on tests/test-floorf-ieee.c. + * tests/test-math-c++.cc: Check the signature of 'floor'. + * doc/posix-functions/floor.texi: Mention the new module. + +2010-12-21 Bruno Haible + + New module 'roundf-ieee'. + * modules/roundf-ieee: New file. + * m4/roundf.m4 (gl_FUNC_ROUNDF): If gl_FUNC_ROUNDF_IEEE is also used, + test whether roundf works according to ISO C 99 with IEC 60559. + * m4/roundf-ieee.m4: New file. + * modules/roundf-ieee-tests: New file. + * tests/test-roundf-ieee.c: New file, based on tests/test-roundf1.c. + * tests/test-roundf1.c (main): Remove signbit tests. + * modules/roundf-tests (Depends-on): Remove 'signbit'. + * doc/posix-functions/roundf.texi: Mention the new module. + +2010-12-21 Bruno Haible + + New module 'truncf-ieee'. + * modules/truncf-ieee: New file. + * m4/truncf.m4 (gl_FUNC_TRUNCF): If gl_FUNC_TRUNCF_IEEE is also used, + test whether truncf works according to ISO C 99 with IEC 60559. + * m4/truncf-ieee.m4: New file. + * lib/math.in.h (truncf): Replace if REPLACE_TRUNCF is set. + * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_TRUNCF. + * modules/math (Makefile.am): Substitute REPLACE_TRUNCF. + * modules/truncf-ieee-tests: New file. + * tests/test-truncf-ieee.c: New file, based on tests/test-truncf1.c. + * tests/test-truncf1.c (main): Remove signbit tests. + * modules/truncf-tests (Depends-on): Remove 'signbit'. + * doc/posix-functions/truncf.texi: Mention the new module. + +2010-12-21 Bruno Haible + + New module 'ceilf-ieee'. + * modules/ceilf-ieee: New file. + * m4/ceilf.m4 (gl_FUNC_FLOORF): If gl_FUNC_CEILF_IEEE is also used, + test whether ceilf works according to ISO C 99 with IEC 60559. + * m4/ceilf-ieee.m4: New file. + * modules/ceilf-ieee-tests: New file. + * tests/test-ceilf-ieee.c: New file, based on tests/test-ceilf1.c. + * tests/test-ceilf1.c (main): Remove signbit tests. + * modules/ceilf-tests (Depends-on): Remove 'signbit'. + * doc/posix-functions/ceilf.texi: Mention the new module. + +2010-12-21 Bruno Haible + + New module 'floorf-ieee'. + * modules/floorf-ieee: New file. + * m4/floorf.m4 (gl_FUNC_FLOORF): If gl_FUNC_FLOORF_IEEE is also used, + test whether floorf works according to ISO C 99 with IEC 60559. + * m4/floorf-ieee.m4: New file. + * modules/floorf-ieee-tests: New file. + * tests/test-floorf-ieee.c: New file, based on tests/test-floorf1.c. + * tests/test-floorf1.c (main): Remove signbit tests. + * modules/floorf-tests (Depends-on): Remove 'signbit'. + * doc/posix-functions/floorf.texi: Mention the new module. + +2010-12-21 Bruno Haible + + Support for minus zero in autoconf macros. + * m4/minus-zero.m4: New file, based on tests/minus-zero.h. + * m4/signbit.m4 (gl_FLOAT_SIGNBIT_CODE, gl_DOUBLE_SIGNBIT_CODE, + gl_LONG_DOUBLE_SIGNBIT_CODE, gl_FLOATTYPE_SIGNBIT_CODE): New macros. + * tests/minus-zero.h: Update comments. + +2010-12-21 Bruno Haible + + Tests for module 'ceil'. + * modules/ceil-tests: New file. + * tests/test-ceil1.c: New file, based on tests/test-ceill.c. + * tests/test-ceil2.c: New file, based on tests/test-ceilf2.c. + +2010-12-21 Bruno Haible + + Tests for module 'floor'. + * modules/floor-tests: New file. + * tests/test-floor1.c: New file, based on tests/test-floorl.c. + * tests/test-floor2.c: New file, based on tests/test-floorf2.c. + +2010-12-21 Bruno Haible + + math: Fix indentation. + * lib/math.in.h (floorf): Fix indentation. + +2010-12-21 Bruno Haible + + Fix cross-compilation guesses on Solaris. + * m4/fopen.m4 (gl_FUNC_FOPEN): Correct shell pattern so that it does + not match "solaris2.10". + * m4/open.m4 (gl_FUNC_OPEN): Likewise. + * m4/printf.m4 (gl_SNPRINTF_TRUNCATION_C99, gl_SNPRINTF_DIRECTIVE_N, + gl_VSNPRINTF_ZEROSIZE_C99): Likewise. + +2010-12-21 Paul Eggert + + snprintf: port snprintf (NULL, 0, ...) to Solaris 8 and 9 + This fixes a problem observed with the latest coreutils snapshot + that caused a test to fail on Solaris 8. src/csplit.c's call + snprintf (NULL, 0, format, UINT_MAX) returns -1 on Solaris 9 and + earlier, instead of returning the number of bytes that would have + been generated; this causes csplit to incorrectly report memory + exhaustion. + * m4/printf.m4 (gl_SNPRINTF_RETVAL_C99): Also check for + snprintf (NULL, 0, ...) and (for good measure) snprintf (buf, 0, ...). + Guess that it doesn't work on Solaris 2.6 through 9. Adjust + comments to match. + (gl_PRINTF_SIZES_C99, gl_PRINTF_DIRECTIVE_F, gl_SNPRINTF_RETVAL_C99): + Fix typo in matching older versions of Solaris: "solaris2.10" + is matched by the shell pattern "solaris2.[0-9]*". This matters + only for guessing while cross-compiling. + * m4/snprintf.m4 (gl_FUNC_SNPRINTF): Also check gl_SNPRINTF_RETVAL_C99. + +2010-12-20 Paul Eggert + + ftoastr: fix comment again + * lib/ftoastr.h: Fix typo in comment. Noted by Ben Pfaff in + . + Also, simplify example a bit by using flags = 0. + +2010-12-20 Bruno Haible + + round*, trunc*: Update documentation regarding glibc. + * doc/posix-functions/roundf.texi: Mention missing declaration problem. + * doc/posix-functions/round.texi: Likewise. + * doc/posix-functions/roundl.texi: Likewise. + * doc/posix-functions/truncf.texi: Likewise. + * doc/posix-functions/trunc.texi: Likewise. + * doc/posix-functions/truncl.texi: Likewise. + +2010-12-20 Bruno Haible + + roundf, round, roundl: Update documentation regarding OSF/1 5.1. + * doc/posix-functions/roundf.texi: Mention OSF/1 5.1 problem. + * doc/posix-functions/round.texi: Likewise. + * doc/posix-functions/roundl.texi: Likewise. + +2010-12-20 Bruno Haible + + ttyname_r: Add missing declaration on HP-UX 11. + * lib/unistd.in.h (ttyname_r): Test HAVE_DECL_TTYNAME_R instead of + HAVE_TTYNAME_R. + * m4/ttyname_r.m4 (gl_FUNC_TTYNAME_R): Test whether ttyname_r is + declared. Set HAVE_TTYNAME_R always. + * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize + HAVE_DECL_TTYNAME_R, not HAVE_TTYNAME_R. + * modules/unistd (Makefile.am): Substitute HAVE_DECL_TTYNAME_R, not + HAVE_TTYNAME_R. + * doc/posix-functions/ttyname_r.texi: Document the HP-UX 11 problem. + +2010-12-20 Bruno Haible + + getlogin, getlogin_r: Document HP-UX 11.11 bugs. + * doc/posix-functions/getlogin.texi: Document HP-UX 11.11 bug. + * doc/posix-functions/getlogin_r.texi: Likewise. + * tests/test-getlogin.c: Include . + (main): Avoid test failure on HP-UX 11.11. + * tests/test-getlogin_r.c (main): Likewise. + +2010-12-20 Bruno Haible + + 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 + + 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 + + ftoastr: fix comment + * lib/ftoastr.h: Fix typo in comment. Noted by Ben Pfaff in + . + +2010-12-19 Bruno Haible + + 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 + + ldexpl test: Fix link error on OSF/1 5.1. + * modules/ldexpl-tests (Makefile.am): Define test_ldexpl_LDADD. + +2010-12-19 Bruno Haible + + 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 + + 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 + + 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 + + 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 + + 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 + + iconv_open: Fix regression from 2010-12-04. + * m4/iconv_open.m4 (gl_FUNC_ICONV_OPEN_UTF): Fix typo. + Reported by Noah Lavine . + +2010-12-19 Bruno Haible + + 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 + + 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 + + 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 + + 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 + + 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 + + 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 + + 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 + + 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 + + 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 ftello: Add missing declaration on OSF/1 5.1.