regex: allow inclusion of <regex.h> before <limits.h>
[gnulib.git] / ChangeLog
index c165c20..ab2d85c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,49 @@
+2012-03-10  Paul Eggert  <eggert@cs.ucla.edu>
+
+       regex: allow inclusion of <regex.h> before <limits.h>
+       Without this patch, portable programs had to include <limits.h> before
+       <regex.h> if they wanted a consistent value for RE_DUP_MAX.
+       I ran into this problem with a test version of GNU grep on Solaris 8.
+       * lib/regex.h: Include <limits.h> if _REGEX_INCLUDE_LIMITS_H.
+       This is done conditionally so that this change can be merged
+       back to glibc.
+       * m4/regex.m4 (gl_REGEX): Define _REGEX_INCLUDE_LIMITS_H if
+       using the included regex.
+
+       fts: depend on fdopendir
+       * modules/fts (Depends-on): Depend on fdopendir.  This is needed
+       on Solaris 8, at least, since it lacks fdopendir.  Evidently the
+       problem was introduced when fdopendir was split out.
+
+2012-03-10  Bruno Haible  <bruno@clisp.org>
+
+       Remove unused variables.
+       * m4/fmodf.m4 (gl_FUNC_FMODF): Remove unused variable 'i'.
+       * m4/remainderf.m4 (gl_FUNC_REMAINDERF): Likewise.
+
 2012-03-10  Bruno Haible  <bruno@clisp.org>
 
+       isnanf-nolibm: Fix last commit.
+       * lib/isnanf-nolibm.h [IRIX]: Don't include <ieeefp.h>. Declare isnanf.
+
+       isnanf-nolibm: Make it work on IRIX 6.5 with cc.
+       * lib/isnanf-nolibm.h [IRIX]: Include <ieeefp.h>.
+
+2012-03-10  Bruno Haible  <bruno@clisp.org>
+
+       logf-ieee: Work around test failure on NetBSD 5.1.
+       * m4/logf-ieee.m4: New file.
+       * m4/logf.m4 (gl_FUNC_LOGF): If gl_FUNC_LOGF_IEEE is present, test
+       whether logf works with a negative argument. Replace it if not.
+       * lib/logf.c (logf): For negative arguments, return NaN.
+       * modules/logf-ieee (Files): Add m4/logf-ieee.m4.
+       (configure.ac): Invoke gl_FUNC_LOGF_IEEE.
+       * doc/posix-functions/logf.texi: Mention the logf-ieee module.
+
+       logf-ieee: Work around test failure on Solaris 9.
+       * modules/logf-ieee (Depends-on): Add log-ieee.
+       (configure.ac): Require gl_FUNC_LOGF.
+
        log-ieee: Work around test failure on NetBSD 5.1 and Solaris 11.
        * m4/log-ieee.m4: New file.
        * m4/log.m4 (gl_FUNC_LOG): If gl_FUNC_LOG_IEEE is present, test whether