summaryrefslogtreecommitdiff
path: root/modules/gen-uni-tables
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-06-16 06:14:05 -0600
committerEric Blake <ebb9@byu.net>2009-06-17 07:24:16 -0600
commite3e47d1710f6154c54b65c5d9dd5d56516a893d6 (patch)
tree545d55fbd549ae6aa3a4bbec53bcf8cd80dd38cc /modules/gen-uni-tables
parentea5142f7369225f5aef66f89f9b9d1421c6dceff (diff)
downloadgnulib-e3e47d1710f6154c54b65c5d9dd5d56516a893d6.tar.gz
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>
Diffstat (limited to 'modules/gen-uni-tables')
-rw-r--r--modules/gen-uni-tables1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gen-uni-tables b/modules/gen-uni-tables
index fd2735ab8e..115853a024 100644
--- a/modules/gen-uni-tables
+++ b/modules/gen-uni-tables
@@ -10,6 +10,7 @@ lib/unictype/3levelbit.h
Depends-on:
memcmp
strdup
+strstr-simple
configure.ac: