iswblank: Ensure declaration on glibc systems.
[pspp] / ChangeLog
index 168ba0f6b2817bc2c08c430543d260fdd2797da7..6fed235d54fce9fd50838f08ac3f1154c71c7c3a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,248 @@
+2011-02-06  Bruno Haible  <bruno@clisp.org>
+
+       iswblank: Ensure declaration on glibc systems.
+       * m4/iswblank.m4 (gl_FUNC_ISWBLANK): Require gl_USE_SYSTEM_EXTENSIONS.
+       * modules/iswblank (Dependencies): Add 'extensions'.
+       * doc/posix-functions/iswblank.texi: Document the glibc problem.
+
+2011-02-06  Bruno Haible  <bruno@clisp.org>
+
+       New module 'iswblank'.
+       * lib/wctype.in.h (iswblank): Don't declare if GNULIB_ISWBLANK is 0.
+       * modules/iswblank: New file.
+       * modules/wctype-h (Files): Remove lib/iswblank.c.
+       (Makefile.am): Substitute GNULIB_ISWBLANK.
+       * m4/iswblank.m4: New file, partially extracted from m4/wctype_h.m4.
+       * m4/wctype_h.m4 (gl_WCTYPE_MODULE_INDICATOR): New macro.
+       (gl_WCTYPE_H_DEFAULTS): New macro.
+       (gl_WCTYPE_H): Require it. Remove iswblank related code.
+       * modules/iswblank-tests: New file.
+       * tests/test-iswblank.c: New file, extraced from tests/test-wctype-h.c.
+       * tests/test-wctype-h.c (main): Remove iswblank tests.
+       * tests/test-wctype-h-c++.cc: Guard the signature test of iswblank.
+       * doc/posix-functions/iswblank.texi: Mention module 'iswblank' instead
+       of 'wctype-h'.
+       * NEWS: Mention the change.
+       * modules/mbchar (Depends-on): Add iswblank.
+
+2011-02-08  Bruno Haible  <bruno@clisp.org>
+
+       di-set tests: Refactor.
+       * tests/test-di-set.c: Include di-set.h early. Include macros.h. Drop
+       unnecessary includes.
+       (ASSERT): Remove macro.
+       (main): Make C90 compliant by avoiding variable declaration after
+       statement.
+       * modules/di-set-tests (Files): Add tests/macros.h.
+
+2011-02-08  Bruno Haible  <bruno@clisp.org>
+
+       ino-map tests: Refactor.
+       * tests/test-ino-map.c: Include ino-map.h early. Include macros.h. Drop
+       unnecessary includes.
+       (ASSERT): Remove macro.
+       (main): Make C90 compliant by avoiding variable declaration after
+       statement.
+       * modules/ino-map-tests (Files): Add tests/macros.h.
+
+2011-02-08  Jim Meyering  <meyering@redhat.com>
+
+       di-set: add "const" to a cast
+       * lib/di-set.c (di_set_insert): Cast hash_insert0 argument to
+       "(void const *)", not "(void *)".  Spotted by Bruno Haible.
+
+2011-02-06  Bruno Haible  <bruno@clisp.org>
+
+       Rename module 'wctype' to 'wctype-h'.
+       * modules/wctype-h: Renamed from modules/wctype.
+       * modules/wctype: Simplyfy to a redirection to 'wctype-h'.
+       * modules/wctype-h-tests: Renamed from modules/wctype-tests.
+       (Files, Depends-on, Makefile.am): Update.
+       * modules/wctype-h-c++-tests: Renamed from modules/wctype-c++-tests.
+       (Files, Makefile.am): Update.
+       * tests/test-wctype-h.c: Renamed from tests/test-wctype.c.
+       * tests/test-wctype-h-c++.cc: Renamed from tests/test-wctype-c++.cc.
+       * doc/posix-headers/wctype.texi: Update.
+       * doc/posix-functions/iswalnum.texi: Update.
+       * doc/posix-functions/iswalpha.texi: Update.
+       * doc/posix-functions/iswblank.texi: Update.
+       * doc/posix-functions/iswcntrl.texi: Update.
+       * doc/posix-functions/iswdigit.texi: Update.
+       * doc/posix-functions/iswgraph.texi: Update.
+       * doc/posix-functions/iswlower.texi: Update.
+       * doc/posix-functions/iswprint.texi: Update.
+       * doc/posix-functions/iswpunct.texi: Update.
+       * doc/posix-functions/iswspace.texi: Update.
+       * doc/posix-functions/iswupper.texi: Update.
+       * doc/posix-functions/iswxdigit.texi: Update.
+       * doc/posix-functions/towlower.texi: Update.
+       * doc/posix-functions/towupper.texi: Update.
+       * NEWS: Mention the change.
+       * modules/fnmatch (Dependencies): Add wctype-h, remove wctype.
+       * modules/mbchar (Dependencies): Likewise.
+       * modules/mbswidth (Dependencies): Likewise.
+       * modules/quotearg (Dependencies): Likewise.
+       * modules/regex (Dependencies): Likewise.
+       * modules/wcscasecmp (Dependencies): Likewise.
+       * modules/wcsncasecmp (Dependencies): Likewise.
+       * modules/wcwidth (Dependencies): Likewise.
+
+2011-02-06  Bruno Haible  <bruno@clisp.org>
+
+       New module 'wcswidth'.
+       * modules/wcswidth: New file.
+       * lib/wchar.in.h (wcswidth): New declaration.
+       * lib/wcswidth.c: New file.
+       * lib/wcswidth-impl.h: New file, from libutf8 with modifications.
+       * m4/wcswidth.m4: New file.
+       * m4/wchar_h.m4 (gl_WCHAR_H): Test whether wcswidth is declared.
+       (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCSWIDTH, HAVE_WCSWIDTH,
+       REPLACE_WCSWIDTH.
+       * modules/wchar (Makefile.am): Substitute GNULIB_WCSWIDTH,
+       HAVE_WCSWIDTH, REPLACE_WCSWIDTH.
+       * tests/test-wchar-c++.cc: Test the declaration of wcswidth.
+       * doc/posix-functions/wcswidth.texi: Mention the new module.
+
+2011-02-06  Bruno Haible  <bruno@clisp.org>
+
+       New module 'wcstok'.
+       * modules/wcstok: New file.
+       * lib/wchar.in.h (wcstok): New declaration.
+       * lib/wcstok.c: New file.
+       * lib/wcstok-impl.h: New file, from libutf8 with modifications.
+       * m4/wcstok.m4: New file.
+       * m4/wchar_h.m4 (gl_WCHAR_H): Test whether wcstok is declared.
+       (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCSTOK, HAVE_WCSTOK.
+       * modules/wchar (Makefile.am): Substitute GNULIB_WCSTOK, HAVE_WCSTOK.
+       * tests/test-wchar-c++.cc: Test the declaration of wcstok.
+       * doc/posix-functions/wcstok.texi: Mention the new module.
+
+2011-02-06  Bruno Haible  <bruno@clisp.org>
+
+       New module 'wcsstr'.
+       * modules/wcsstr: New file.
+       * lib/wchar.in.h (wcsstr): New declaration.
+       * lib/wcsstr.c: New file.
+       * lib/wcsstr-impl.h: New file, from libutf8 with modifications.
+       * m4/wcsstr.m4: New file.
+       * m4/wchar_h.m4 (gl_WCHAR_H): Test whether wcsstr is declared.
+       (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCSSTR, HAVE_WCSSTR.
+       * modules/wchar (Makefile.am): Substitute GNULIB_WCSSTR, HAVE_WCSSTR.
+       * tests/test-wchar-c++.cc: Test the declaration of wcsstr.
+       * doc/posix-functions/wcsstr.texi: Mention the new module.
+
+2011-02-06  Bruno Haible  <bruno@clisp.org>
+
+       New module 'wcspbrk'.
+       * modules/wcspbrk: New file.
+       * lib/wchar.in.h (wcspbrk): New declaration.
+       * lib/wcspbrk.c: New file.
+       * lib/wcspbrk-impl.h: New file, from libutf8 with modifications.
+       * m4/wcspbrk.m4: New file.
+       * m4/wchar_h.m4 (gl_WCHAR_H): Test whether wcspbrk is declared.
+       (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCSPBRK, HAVE_WCSPBRK.
+       * modules/wchar (Makefile.am): Substitute GNULIB_WCSPBRK, HAVE_WCSPBRK.
+       * tests/test-wchar-c++.cc: Test the declaration of wcspbrk.
+       * doc/posix-functions/wcspbrk.texi: Mention the new module.
+
+2011-02-06  Bruno Haible  <bruno@clisp.org>
+
+       New module 'wcsspn'.
+       * modules/wcsspn: New file.
+       * lib/wchar.in.h (wcsspn): New declaration.
+       * lib/wcsspn.c: New file.
+       * lib/wcsspn-impl.h: New file, from libutf8 with modifications.
+       * m4/wcsspn.m4: New file.
+       * m4/wchar_h.m4 (gl_WCHAR_H): Test whether wcsspn is declared.
+       (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCSSPN, HAVE_WCSSPN.
+       * modules/wchar (Makefile.am): Substitute GNULIB_WCSSPN, HAVE_WCSSPN.
+       * tests/test-wchar-c++.cc: Test the declaration of wcsspn.
+       * doc/posix-functions/wcsspn.texi: Mention the new module.
+
+2011-02-06  Bruno Haible  <bruno@clisp.org>
+
+       New module 'wcscspn'.
+       * modules/wcscspn: New file.
+       * lib/wchar.in.h (wcscspn): New declaration.
+       * lib/wcscspn.c: New file.
+       * lib/wcscspn-impl.h: New file, from libutf8 with modifications.
+       * m4/wcscspn.m4: New file.
+       * m4/wchar_h.m4 (gl_WCHAR_H): Test whether wcscspn is declared.
+       (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCSCSPN, HAVE_WCSCSPN.
+       * modules/wchar (Makefile.am): Substitute GNULIB_WCSCSPN, HAVE_WCSCSPN.
+       * tests/test-wchar-c++.cc: Test the declaration of wcscspn.
+       * doc/posix-functions/wcscspn.texi: Mention the new module.
+
+2011-02-06  Bruno Haible  <bruno@clisp.org>
+
+       New module 'wcsrchr'.
+       * modules/wcsrchr: New file.
+       * lib/wchar.in.h (wcsrchr): New declaration.
+       * lib/wcsrchr.c: New file.
+       * lib/wcsrchr-impl.h: New file, from libutf8 with modifications.
+       * m4/wcsrchr.m4: New file.
+       * m4/wchar_h.m4 (gl_WCHAR_H): Test whether wcsrchr is declared.
+       (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCSRCHR, HAVE_WCSRCHR.
+       * modules/wchar (Makefile.am): Substitute GNULIB_WCSRCHR, HAVE_WCSRCHR.
+       * tests/test-wchar-c++.cc: Test the declaration of wcsrchr.
+       * doc/posix-functions/wcsrchr.texi: Mention the new module.
+
+2011-02-06  Bruno Haible  <bruno@clisp.org>
+
+       New module 'wcschr'.
+       * modules/wcschr: New file.
+       * lib/wchar.in.h (wcschr): New declaration.
+       * lib/wcschr.c: New file.
+       * lib/wcschr-impl.h: New file, from libutf8 with modifications.
+       * m4/wcschr.m4: New file.
+       * m4/wchar_h.m4 (gl_WCHAR_H): Test whether wcschr is declared.
+       (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCSCHR, HAVE_WCSCHR.
+       * modules/wchar (Makefile.am): Substitute GNULIB_WCSCHR, HAVE_WCSCHR.
+       * tests/test-wchar-c++.cc: Test the declaration of wcschr.
+       * doc/posix-functions/wcschr.texi: Mention the new module.
+
+2011-02-06  Bruno Haible  <bruno@clisp.org>
+
+       New module 'wcsdup'.
+       * modules/wcsdup: New file.
+       * lib/wchar.in.h (wcsdup): New declaration.
+       * lib/wcsdup.c: New file.
+       * lib/wcsdup-impl.h: New file, from libutf8 with modifications.
+       * m4/wcsdup.m4: New file.
+       * m4/wchar_h.m4 (gl_WCHAR_H): Test whether wcsdup is declared.
+       (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCSDUP, HAVE_WCSDUP.
+       * modules/wchar (Makefile.am): Substitute GNULIB_WCSDUP, HAVE_WCSDUP.
+       * tests/test-wchar-c++.cc: Test the declaration of wcsdup.
+       * doc/posix-functions/wcsdup.texi: Mention the new module.
+
+2011-02-06  Bruno Haible  <bruno@clisp.org>
+
+       New module 'wcsxfrm'.
+       * modules/wcsxfrm: New file.
+       * lib/wchar.in.h (wcsxfrm): New declaration.
+       * lib/wcsxfrm.c: New file.
+       * lib/wcsxfrm-impl.h: New file.
+       * m4/wcsxfrm.m4: New file.
+       * m4/wchar_h.m4 (gl_WCHAR_H): Test whether wcsxfrm is declared.
+       (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCSXFRM, HAVE_WCSXFRM.
+       * modules/wchar (Makefile.am): Substitute GNULIB_WCSXFRM, HAVE_WCSXFRM.
+       * tests/test-wchar-c++.cc: Test the declaration of wcsxfrm.
+       * doc/posix-functions/wcsxfrm.texi: Mention the new module.
+
+2011-02-06  Bruno Haible  <bruno@clisp.org>
+
+       New module 'wcscoll'.
+       * modules/wcscoll: New file.
+       * lib/wchar.in.h (wcscoll): New declaration.
+       * lib/wcscoll.c: New file.
+       * lib/wcscoll-impl.h: New file.
+       * m4/wcscoll.m4: New file.
+       * m4/wchar_h.m4 (gl_WCHAR_H): Test whether wcscoll is declared.
+       (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCSCOLL, HAVE_WCSCOLL.
+       * modules/wchar (Makefile.am): Substitute GNULIB_WCSCOLL, HAVE_WCSCOLL.
+       * tests/test-wchar-c++.cc: Test the declaration of wcscoll.
+       * doc/posix-functions/wcscoll.texi: Mention the new module.
+
 2011-02-06  Bruno Haible  <bruno@clisp.org>
 
        New module 'wcsncasecmp'.
        indirectly on xalloc.  This change causes the openat substitute
        to fall back on save_cwd when memory is tight, and for save_cwd to
        fail instead of dying when memory is tight, but that's good enough.
+       Problem and initial idea for fix reported by Bastien Roucaries in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00170.html>.
 
        * lib/openat-proc.c: Include stdlib.h (for malloc), not
        xalloc.h (for xmalloc).