summaryrefslogtreecommitdiff
path: root/modules/string
diff options
context:
space:
mode:
authorBen Pfaff <blp@gnu.org>2009-09-06 17:17:41 +0200
committerBruno Haible <bruno@clisp.org>2009-09-06 17:19:55 +0200
commit598580519cc391a0856e5ff7a15c1634d0ad29bc (patch)
tree15c5abce9eb7f2d3a768259b64530cabf03b1742 /modules/string
parentf0a1525ce8bcfb464598465cc6fea36a706c5f44 (diff)
downloadgnulib-598580519cc391a0856e5ff7a15c1634d0ad29bc.tar.gz
Work around a glibc bug in strtok_r.
Diffstat (limited to 'modules/string')
-rw-r--r--modules/string2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/string b/modules/string
index 40731467d6..9bafa7e904 100644
--- a/modules/string
+++ b/modules/string
@@ -83,6 +83,8 @@ string.h: string.in.h
-e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
-e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
-e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
+ -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
+ -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
-e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
< $(srcdir)/string.in.h; \
} > $@-t && \