This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/string test-strspn.c test-strncmp.c test- ...
- From: roland at sources dot redhat dot com
- To: glibc-cvs at sources dot redhat dot com
- Date: 8 Nov 2002 22:09:46 -0000
- Subject: libc/string test-strspn.c test-strncmp.c test- ...
CVSROOT: /cvs/glibc
Module name: libc
Changes by: roland@sourceware.org 2002-11-08 14:09:46
Modified files:
string : test-strspn.c test-strncmp.c test-strcspn.c
test-strpbrk.c test-strchr.c test-strcmp.c
test-string.h test-strncpy.c test-stpncpy.c
Log message:
2002-11-08 Jakub Jelinek <jakub@redhat.com>
* string/test-strchr.c (stupid_strchr): New function.
(do_random_tests): Make sure the string is zero terminated.
* string/test-strpbrk.c (stupid_strpbrk): New function.
(do_random_tests): Make sure the string is zero terminated.
* string/test-strcmp.c (stupid_strcmp): New function.
(do_random_tests): Make sure the strings are zero terminated.
* string/test-strspn.c (stupid_strspn): New function.
(simple_strspn): Rename rej argument to acc.
(do_random_tests): Make sure the string is zero terminated.
* string/test-strcspn.c (stupid_strcspn): New function.
* string/test-strncpy.c (stupid_strncpy): New function.
* string/test-stpncpy.c (stupid_stpncpy): New function.
* string/test-strncmp.c (stupid_strncmp): New function.
(do_random_tests): Make sure the strings are zero terminated.
* string/test-string.h (impl_t): Change test into long.
(IMPL): Add __attribute__((aligned (sizeof (void *)))).