* lib/argp-fmtstream.h (ARGP_FS_EI): Work around GCC 4.2.1 diagnostic
[gnulib.git] / ChangeLog
index 7401df0..a91048b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,161 @@
+2007-10-12  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/argp-fmtstream.h (ARGP_FS_EI): Work around GCC 4.2.1 diagnostic
+       "warning: C99 inline functions are not supported; using GNU89".
+
+2007-10-12  Bruno Haible  <bruno@clisp.org>
+
+       * lib/ceil.c (FUNC): Avoid rounding errors for values near a power
+       of 2.
+       * tests/test-ceilf2.c: New file.
+       * modules/ceilf-tests: (Files, Depends-on, Makefile.am): Add new test.
+
+       * tests/test-ceilf1.c: Renamed from tests/test-ceilf.c.
+       * modules/ceilf-tests: Update.
+
+2007-10-12  Bruno Haible  <bruno@clisp.org>
+
+       * lib/floor.c (FUNC): Avoid rounding errors for values near a power
+       of 2.
+       * tests/test-floorf2.c: New file.
+       * modules/floorf-tests: (Files, Depends-on, Makefile.am): Add new test.
+
+       * tests/test-floorf1.c: Renamed from tests/test-floorf.c.
+       * modules/floorf-tests: Update.
+
+2007-10-12  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-trunc2.c: New file.
+       * modules/trunc-tests: (Files, Depends-on, Makefile.am): Add new test.
+
+       * tests/test-trunc1.c: Renamed from tests/test-trunc.c.
+       * modules/trunc-tests: Update.
+
+2007-10-12  Bruno Haible  <bruno@clisp.org>
+
+       * lib/trunc.c (FUNC): Avoid rounding errors for values near a power
+       of 2.
+       * tests/test-truncf2.c: New file.
+       * modules/truncf-tests: (Files, Depends-on, Makefile.am): Add new test.
+
+       * tests/test-truncf1.c: Renamed from tests/test-truncf.c.
+       * modules/truncf-tests: Update.
+
+2007-10-11  Eric Blake  <ebb9@byu.net>
+
+       Don't claim strerror is broken on Interix.
+       * doc/functions/strerror.texi (strerror): Known broken systems are
+       now Solaris 8, and not Interix.
+       * m4/strerror.m4 (gl_FUNC_STRERROR_SEPARATE): No longer filter out
+       Interix on cross-compile.
+       Reported by Martin Koeppe in
+       http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00005.html.
+
+2007-10-11  Bruno Haible  <bruno@clisp.org>
+
+       * modules/i-ring-tests: New file.
+       * tests/test-i-ring.c: Renamed from lib/i-ring-test.c. Use ASSERT
+       instead of assert.
+
+2007-10-11  Bruno Haible  <bruno@clisp.org>
+
+       * modules/filenamecat-tests: New file.
+       * tests/test-filenamecat.c: New file, extracted from lib/filenamecat.c.
+       * lib/filenamecat.c: Remove test code.
+
+2007-10-11  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Simplify and modernize strerror substitute, partly to fix Solaris 8 bug.
+
+       * lib/strerror.c: Include <string.h> always, to test interface,
+       and to remove the need for the dummy.
+       Include intprops.h to compute width instead of doing it ourselves
+       and missing a CHAR_BIT declaration, which broke tar 1.19 on Solaris 8.
+       (strerror): Define it to return NULL if there's no system strerror.
+       (rpl_strerror): Use INT_STRLEN_BOUND to compute bound.
+       Omit !HAVE_STRERROR code.  We don't need to worry about supporting
+       ancient pre-strerror Unix systems well any more.  Saying "unknown
+       system error" is enough.
+       * lib/string.in.h (strerror): Simplify the ifdef to reflect the
+       simpler strerror.c implementation.
+       * m4/strerror.m4 (gl_FUNC_STRERROR_SEPARATE, gl_PREREQ_STDERROR):
+       Simplify the tests to reflect the simpler strerror implementation.
+       * modules/strerror (Depends-on): Add intprops.
+
+2007-10-09  Eric Blake  <ebb9@byu.net>
+
+       Silence test-fpending.
+       * modules/fpending-tests (Files): Add wrapper script.
+       * tests/test-fpending.sh: New file.
+
+2007-10-09  Bruno Haible  <bruno@clisp.org>
+
+       * MODULES.html.sh (func_module): Don't create a hyperlink for
+       function names like 'printf_frexp'.
+       (Misc): Add crc, memxor.
+       (Characteristics of floating types): New section.
+       (Mathematics): Add ceilf, ceill, floorf, floorl, frexpl-nolibm,
+       isnanf-nolibm, signbit, trunc, truncf, truncl.
+       (Enhancements for ISO C 99 functions): New subsection Input/output.
+       (Support for systems lacking POSIX:2001): Add arpa_inet, calloc-posix,
+       fcntl, fopen, freopen, fseek, fseeko, ftell, ftello, iconv_open,
+       locale, malloc-posix, netinet_in, open, realloc-posix, signal, sleep.
+       (Compatibility checks for POSIX:2001 functions): Add clock-time.
+       (Enhancements for POSIX:2001 functions): Add chdir-long.
+       (File system functions): Add areadlink, chdir-safer, read-file.
+       Remove cycle-check.
+       (File system as inode set): New section.
+       (Date and time): Add gethrxtime.
+       (Multithreading): Add openmp.
+       (Internationalization functions): Add localename.
+       (Unicode string functions): Add unistr/u*-mbsnlen.
+       (Support for maintaining and releasing projects): Add git-version-gen.
+       (Lone files): Remove directories.
+
+2007-10-08  Ben Pfaff  <blp@gnu.org>
+
+       * lib/xmalloca.h: Fix typo in comment.
+
+2007-10-08  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/xnanosleep.c (xnanosleep): Don't assume GCC 4.3.0 behavior
+       when avoiding problems with integer overflow.  Use a portable test
+       instead.
+
+2007-10-08  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/dummy (License): Change to LGPLv2+.
+       * modules/float (License): Likewise
+       * modules/realloc (License): Likewise
+       * modules/stdlib (License): Likewise
+
+2007-10-07  Bruno Haible  <bruno@clisp.org>
+
+       * trunc.c (TWO_MANT_DIG): Change type to DOUBLE.
+       * floor.c (TWO_MANT_DIG): Likewise.
+       * ceil.c (TWO_MANT_DIG): Likewise.
+       Reported by Ben Pfaff.
+
 2007-10-07  Bruno Haible  <bruno@clisp.org>
 
+       Avoid gcc warnings "declaration of 'exp' shadows a global declaration".
+       * lib/math.in.h (frexp, frexpl): Change parameter name to 'expptr'.
+       * lib/frexp.c (FUNC): Likewise.
+       * lib/printf-frexp.h (printf_frexp): Likewise.
+       * lib/printf-frexpl.h (printf_frexpl): Likewise.
+       * lib/printf-frexp.c (FUNC): Likewise.
+       Suggested by Jim Meyering.
+
+2007-10-07  Jim Meyering  <meyering@redhat.com>
+
+       Make xnanosleep's integer overflow test more robust.
+       * lib/xnanosleep.c (xnanosleep): Declare a temporary to be "volatile",
+       so that gcc-4.3.0 doesn't optimize away this test for overflow.
+
+2007-10-07  Bruno Haible  <bruno@clisp.org>
+
+       * NEWS: Mention the license change.
+
        * doc/gnulib-intro.texi (Copyright): Update the meaning of the license
        abbreviations in the modules files.
 
        * doc/functions/floorf.texi: Mention the 'floorf' module.
 
 2007-10-04  Benoit Sigoure  <tsuna@lrde.epita.fr>
-            Bruno Haible  <bruno@clisp.org>
+           Bruno Haible  <bruno@clisp.org>
 
        Advertise for the Git server instead of the CVS server.
        * doc/gnulib-intro.texi (Steady Development): Mention the Git
        * lib/fseeko.c (rpl_fseeko): Likewise.
 
 2007-10-03  Bruno Haible  <bruno@clisp.org>
-            Jim Meyering  <jim@meyering.net>
-            Eric Blake  <ebb9@byu.net>
+           Jim Meyering  <jim@meyering.net>
+           Eric Blake  <ebb9@byu.net>
 
        * doc/relocatable.texi: Use @command instead of @program.