summary refs log tree commit diff
path: root/string
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-07-30 00:09:07 -0700
committerUlrich Drepper <drepper@redhat.com>2010-07-30 00:09:07 -0700
commitfe36dd025ea34c5c082b688592618ec72369b96b (patch)
tree7f5b4ec677ee5ffb364c47298c0233fbb3ddbd6d /string
parent76e6d6bca72c611653e70d67c2168d2e91a371eb (diff)
downloadglibc-fe36dd025ea34c5c082b688592618ec72369b96b.tar.gz
glibc-fe36dd025ea34c5c082b688592618ec72369b96b.tar.xz
glibc-fe36dd025ea34c5c082b688592618ec72369b96b.zip
Fix tolower operation in strcasestr.
Diffstat (limited to 'string')
-rw-r--r--string/test-strcasestr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string/test-strcasestr.c b/string/test-strcasestr.c
index 547537cbd4..edc41f3466 100644
--- a/string/test-strcasestr.c
+++ b/string/test-strcasestr.c
@@ -97,7 +97,7 @@ do_test (size_t align1, size_t align2, size_t len1, size_t len2,
   char *s1 = (char *) (buf1 + align1);
   char *s2 = (char *) (buf2 + align2);
 
-  static const char d[] = "1234567890abcdef";
+  static const char d[] = "1234567890abcxyz";
 #define dl (sizeof (d) - 1)
   char *ss2 = s2;
   for (size_t l = len2; l > 0; l = l > dl ? l - dl : 0)