Mercurial > hg > octave-kai > gnulib-hg
view modules/strchrnul @ 14310:00537d144c48
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.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 06 Feb 2011 22:07:24 +0100 |
parents | 4752a2febbe8 |
children | efab6978105e |
line wrap: on
line source
Description: strchrnul() function: Find the first occurrence of C in S or the final NUL byte. Files: lib/strchrnul.c lib/strchrnul.valgrind m4/strchrnul.m4 Depends-on: extensions string rawmemchr configure.ac: gl_FUNC_STRCHRNUL gl_STRING_MODULE_INDICATOR([strchrnul]) Makefile.am: Include: <string.h> License: LGPLv2+ Maintainer: Eric Blake, glibc