1 #ifndef STRING_WRAPPER_H
2 #define STRING_WRAPPER_H 1
4 #include_next <string.h>
6 /* Glibc 2.7 has a bug in strtok_r when compiling with optimization that can
7 * cause segfaults if the delimiters argument is a compile-time constant that
8 * has exactly 1 character:
10 * http://sources.redhat.com/bugzilla/show_bug.cgi?id=5614
12 * The bug is only present in the inline version of strtok_r(), so force the
13 * out-of-line version to be used instead. */
18 #endif /* string.h wrapper */