assert-h: new module, which supports C1X-style static_assert
[pspp] / ChangeLog
index 93bdfefb73eddac6d54b47b7a6bc5e8a91a5f3a2..b57e17beac683b9877790949f92d70665d14906c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,86 @@
+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: