1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-09-02 15:41:25 +03:00
Commit Graph

4 Commits

Author SHA1 Message Date
Eric Blake
e3e47d1710 strstr, strcasestr: replace on platforms with broken memchr
* modules/strstr: Split into...
* modules/strstr-simple: ...new module that does not care about
performance, but does care about glibc bug.
* m4/strstr.m4 (gl_FUNC_STRSTR): Split...
(gl_FUNC_STRSTR_SIMPLE): ...into new macro, which replaces strstr
if platform memchr is broken, per Debian bug 521737.
* m4/strcasestr.m4 (gl_FUNC_STRCASESTR_SIMPLE): React to broken
memchr.
* m4/memchr.m4 (gl_FUNC_MEMCHR): Only expand once.
* doc/posix-functions/strstr.texi (strstr): Document the fix.
* doc/glibc-functions/strcasestr.texi (strcasestr): Likewise.
* modules/mountlist (Depends-on): Add strstr-simple.
* modules/gen-uni-tables (Depends-on): Likewise.
* modules/argz (Depends-on): Add strstr.

Signed-off-by: Eric Blake <ebb9@byu.net>
2009-06-17 07:24:16 -06:00
Bruno Haible
ae40961634 Generate also simple case mapping tables. 2009-02-08 21:19:42 +01:00
Bruno Haible
7ef2788bd0 Generate table with word break data. 2009-02-08 20:51:46 +01:00
Bruno Haible
5ccf18f30a Merge gen-ctype and gen-lbrk into gen-uni-tables. 2009-02-08 03:02:06 +01:00