From 598580519cc391a0856e5ff7a15c1634d0ad29bc Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sun, 6 Sep 2009 17:17:41 +0200 Subject: Work around a glibc bug in strtok_r. --- modules/string | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/string') 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 && \ -- cgit v1.2.1