assert-h: new module, which supports C1X-style static_assert
[pspp] / ChangeLog
index 55c709fc25c04ecd15efd50977fe975d8fc34fdd..b57e17beac683b9877790949f92d70665d14906c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,123 @@
+2011-05-05  Paul Eggert  <eggert@cs.ucla.edu>
+
+       assert-h: new module, which supports C1X-style static_assert
+       * lib/assert.in.h, m4/assert_h.m4, modules/assert-h: New files.
+       * lib/verify.h: Revamp so that this can be copied into assert.h,
+       while retaining the ability to use it standalone as before.
+       Rename private identifiers so as not to encroach on the
+       standard C namespace, since this is now used by assert.h.
+       (_GL_VERIFY_TYPE): New macro, factoring out differing parts of
+       the old verify_true.
+       (_GL_VERIFY_TRUE): New macro, with much of the contents of
+       the old verify_true.  Use _GL_VERIFY_TYPE.
+       (_GL_VERIFY): New macro, with much of the contents of the old verify.
+       (static_assert): New macro, if _GL_STATIC_ASSERT_H
+       is defined and static_assert is not; _GL_STATIC_ASSERT_H is
+       defined when this file is copied into the replacement assert.h.
+       (_Static_assert): New macro, if _GL_STATIC_ASSERT_H is defined
+       and _Static_assert is not built in.
+       (verify_true, verify): Define only if _GL_STATIC_ASSERT_H is not
+       defined, and use the new macros mentioned above.
+       * doc/posix-headers/assert.texi: Document this.
+
+2011-05-05  Bruno Haible  <bruno@clisp.org>
+
+       fclose, fflush: Respect rules for use of AC_LIBOBJ.
+       * m4/fflush.m4 (gl_FUNC_FFLUSH): Don't invoke gl_REPLACE_FCLOSE.
+       * m4/fclose.m4 (gl_FUNC_FCLOSE): Invoke gl_FUNC_FFLUSH_STDIN and
+       gl_REPLACE_FCLOSE here.
+       * modules/fflush (Depends-on): Remove fclose.
+       * doc/posix-functions/fclose.texi: Mention module 'fflush' only in
+       combination with module 'fclose'.
+
+2011-05-05  Bruno Haible  <bruno@clisp.org>
+
+       fflush, fseeko: Respect rules for use of AC_LIBOBJ.
+       * m4/fflush.m4 (gl_FUNC_FFLUSH_STDIN): New macro, extracted from
+       gl_FUNC_FFLUSH.
+       (gl_FUNC_FFLUSH): Use it.
+       (gl_REPLACE_FFLUSH): Don't invoke gl_REPLACE_FSEEKO.
+       * m4/fseeko.m4 (gl_FUNC_FSEEKO): Invoke gl_FUNC_FFLUSH_STDIN and
+       gl_REPLACE_FSEEKO here.
+
+2011-05-05  Bruno Haible  <bruno@clisp.org>
+
+       tzset: Relicense under LGPL.
+       * modules/tzset (License): Change to LGPL.
+       No agreement needed; it's a no-op.
+
+       strtoimax, strtoumax: Relicense under LGPL.
+       * modules/strtoimax (License): Change to LGPL.
+       * modules/strtoumax (License): Likewise.
+       With permission from Jim Meyering, Paul Eggert:
+       <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00124.html>
+       <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00109.html>
+
+       getgroups: Relicense under LGPL.
+       * modules/getgroups (License): Change to LGPL.
+       With permission from Jim Meyering, Paul Eggert, Eric Blake:
+       <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00111.html>
+       <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00148.html>
+       <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00138.html>
+
+       nanosleep: Relicense under LGPL.
+       * modules/nanosleep (License): Change to LGPL.
+       With permission from Jim Meyering, Paul Eggert, Eric Blake, Bruno
+       Haible:
+       <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00111.html>
+       <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00148.html>
+       <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00138.html>
+       <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00131.html>
+
+       futimens: Relicense under LGPL.
+       * modules/futimens (License): Change to LGPL.
+       With permission from Eric Blake:
+       <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00138.html>
+
+       fflush: Relicense under LGPL.
+       * modules/fflush (License): Change to LGPL.
+       With permission from Eric Blake, Bruno Haible, Jim Meyering:
+       <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00138.html>
+       <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00131.html>
+       <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00133.html>
+
+       tmpfile: Relicense under LGPL.
+       * modules/tmpfile (License): Change to LGPL.
+       With permission from Ben Pfaff:
+       <http://lists.gnu.org/archive/html/bug-gnulib/2010-12/msg00185.html>
+
+       isfinite: Relicense under LGPL.
+       * modules/isfinite (License): Change to LGPL.
+       With permission from Ben Pfaff, Bruno Haible:
+       <http://lists.gnu.org/archive/html/bug-gnulib/2010-12/msg00185.html>
+       <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00130.html>
+
+       acosl..tanl: Relicense under LGPL.
+       * modules/acosl (License): Change to LGPL.
+       * modules/asinl (License): Likewise.
+       * modules/atanl (License): Likewise.
+       * modules/cosl (License): Likewise.
+       * modules/expl (License): Likewise.
+       * modules/logl (License): Likewise.
+       * modules/sinl (License): Likewise.
+       * modules/sqrtl (License): Likewise.
+       * modules/tanl (License): Likewise.
+       Source code originally from glibc and Paolo Bonzini. Agreements:
+       <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00137.html>
+       <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00128.html>
+
+2011-05-05  Bruno Haible  <bruno@clisp.org>
+
+       signal: Define sighandler_t.
+       * lib/signal.in.h (sighandler_t): New type.
+       * m4/signal_h.m4 (gl_SIGNAL_H): Require AC_USE_SYSTEM_EXTENSIONS. Test
+       whether sighandler_t is defined.
+       (gl_SIGNAL_H_DEFAULTS): Initialize HAVE_SIGHANDLER_T.
+       * modules/signal (Depends-on): Add extensions.
+       (Makefile.am): Substitute HAVE_SIGHANDLER_T.
+       * doc/posix-headers/signal.texi: Mention the problem with sighandler_t.
+       Suggested by Markus Steinborn <gnugv_maintainer@yahoo.de>.
+
 2011-05-05  Eric Blake  <eblake@redhat.com>
 
        maint: remove useless REPLACE_*_H macros