roundf-ieee: Fix test failures on AIX 7.1 and OSF/1 5.1.
[pspp] / ChangeLog
index 42588b4f7181d6a1fb8843f2a072d14c1b32759c..74dd189df302995aa9f8a8ef9d4cca15e64071e4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,87 @@
+2011-06-19  Bruno Haible  <bruno@clisp.org>
+
+       roundf-ieee: Fix test failures on AIX 7.1 and OSF/1 5.1.
+       * m4/roundf.m4 (gl_FUNC_ROUNDF): Test also the sign of roundf (-0.3f).
+       * modules/roundf-ieee (Depends-on): Add floorf-ieee, ceilf-ieee.
+       * doc/posix-functions/roundf.texi: Mention problem with negative
+       arguments.
+       * doc/posix-functions/ceilf.texi: Mention problem on OSF/1 5.1.
+
+2011-06-19  Bruno Haible  <bruno@clisp.org>
+
+       ceilf-ieee: Work around bug on MacOS X 10.5.
+       * doc/posix-functions/ceilf.texi: Mention the MacOS X 10.5 problem.
+
+       floor*-ieee, ceil*-ieee, trunc*-ieee, round*-ieee: More robust checks.
+       * m4/floorf.m4 (gl_FUNC_FLOORF): In the test whether the function is
+       IEEE compliant, avoid compiler optimizations.
+       * m4/floor.m4 (gl_FUNC_FLOOR): Likewise.
+       * m4/ceilf.m4 (gl_FUNC_CEILF): Likewise.
+       * m4/ceil.m4 (gl_FUNC_CEIL): Likewise.
+       * m4/ceill.m4 (gl_FUNC_CEILL): Likewise.
+       * m4/truncf.m4 (gl_FUNC_TRUNCF): Likewise.
+       * m4/trunc.m4 (gl_FUNC_TRUNC): Likewise.
+       * m4/truncl.m4 (gl_FUNC_TRUNCL): Likewise.
+       * m4/roundf.m4 (gl_FUNC_ROUNDF): Likewise.
+       * m4/round.m4 (gl_FUNC_ROUND): Likewise.
+       * m4/roundl.m4 (gl_FUNC_ROUNDL): Likewise.
+
+2011-06-19  Bruno Haible  <bruno@clisp.org>
+
+       ceilf-ieee: Work around bug on AIX 7.1.
+       * m4/ceilf.m4 (gl_FUNC_CEILF): Test also the sign of ceilf (-0.3f).
+       * doc/posix-functions/ceilf.texi: Mention the AIX 7.1 problem.
+
+2011-06-19  Bruno Haible  <bruno@clisp.org>
+
+       ceil-ieee: Work around bug on AIX 7.1.
+       * m4/ceil.m4 (gl_FUNC_CEIL): Test also the sign of ceil (-0.3).
+       * doc/posix-functions/ceil.texi: Mention the AIX 7.1 problem.
+
+2011-06-18  Bruno Haible  <bruno@clisp.org>
+
+       fsync test: Avoid test failure on MacOS X and AIX.
+       * tests/test-fsync.c (fsync): Allow ENOTSUP and EBADF instead of
+       EINVAL.
+
+2011-06-18  Bruno Haible  <bruno@clisp.org>
+
+       openat, fdopendir tests: Fix link errors.
+       * modules/openat-tests (Depends-on): Add progname.
+       * modules/fdopendir-tests (Depends-on): Likewise.
+       * tests/test-fchownat.c: Include progname.h.
+       (main): Call set_program_name.
+       * tests/test-fstatat.c: Include progname.h.
+       (main): Call set_program_name.
+       * tests/test-mkdirat.c: Include progname.h.
+       (main): Call set_program_name.
+       * tests/test-openat.c: Include progname.h.
+       (main): Call set_program_name.
+       * tests/test-unlinkat.c: Include progname.h.
+       (main): Call set_program_name.
+       * tests/test-fdopendir.c: Include progname.h.
+       (main): Call set_program_name.
+
+2011-06-18  Bruno Haible  <bruno@clisp.org>
+
+       Doc update.
+       * doc/posix-functions/pthread_attr_getstack.texi: Update info regarding
+       HP-UX.
+       * doc/posix-functions/pthread_attr_setstack.texi: Likewise.
+
+2011-06-18  Bruno Haible  <bruno@clisp.org>
+
+       getcwd tests: Avoid compilation error on HP-UX 11.31.
+       * modules/getcwd-tests (Depends-on): Add pathmax.
+       * tests/test-getcwd.c: Include pathmax.h.
+
+2011-06-18  Bruno Haible  <bruno@clisp.org>
+
+       isfinite, isinf: Fix link error on AIX 6 and 7.
+       * m4/isfinite.m4 (gl_ISFINITE): When determining whether libm is
+       needed, also test the macro with a 'float' argument.
+       * m4/isinf.m4 (gl_ISINF): Likewise.
+
 2011-06-18  Bruno Haible  <bruno@clisp.org>
 
        getloadavg: Don't clobber LIBS. Regression from previous commit.