* string/tester.c (test_strcmp): Fix a typo.

This commit is contained in:
Roland McGrath 2003-04-11 22:07:03 +00:00
parent 9eb55f4997
commit 52a5e9757e
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2003-04-11 Jakub Jelinek <jakub@redhat.com>
* string/tester.c (test_strcmp): Fix a typo.
2003-04-09 Ulrich Drepper <drepper@redhat.com> 2003-04-09 Ulrich Drepper <drepper@redhat.com>
* sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD definition. * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD definition.

View File

@ -89,8 +89,8 @@ test_strcmp (void)
int k; int k;
for (k = 0; k < 0x3f; k++) for (k = 0; k < 0x3f; k++)
{ {
buf1[j] = '0' ^ (k & 4); buf1[k] = '0' ^ (k & 4);
buf2[j] = '4' ^ (k & 4); buf2[k] = '4' ^ (k & 4);
} }
buf1[i] = buf1[0x3f] = 0; buf1[i] = buf1[0x3f] = 0;
buf2[j] = buf2[0x3f] = 0; buf2[j] = buf2[0x3f] = 0;