aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-07-25 01:40:59 +0000
committerUlrich Drepper <drepper@redhat.com>2005-07-25 01:40:59 +0000
commit09987e425cce292a7202de18a9ef1bb62529a77f (patch)
treec1bc9fe321e9552545e5bc48e54ab5e84afc9fcc
parent03c4ded352703c5cfbee90af024a366fa87a3b56 (diff)
downloadglibc-09987e425cce292a7202de18a9ef1bb62529a77f.tar
glibc-09987e425cce292a7202de18a9ef1bb62529a77f.tar.gz
glibc-09987e425cce292a7202de18a9ef1bb62529a77f.tar.bz2
glibc-09987e425cce292a7202de18a9ef1bb62529a77f.zip
* string/test-memset.c (test_main): Use negative byte value iscvs/fedora-glibc-20050725T0627
test.
-rw-r--r--ChangeLog4
-rw-r--r--string/test-memset.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 9b4ef81f51..34697d2c36 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,10 @@
2005-07-24 Ulrich Drepper <drepper@redhat.com>
+ * string/test-memset.c (test_main): Use negative byte value is
+ test.
+
* string/test-memset.c (do_one_test): Compare effect of call, not
only return value.
-
Add a few casts to avoid warnings.
2005-07-24 SUGIOKA Toshinobu <sugioka@itonet.co.jp>
diff --git a/string/test-memset.c b/string/test-memset.c
index 6ea8455e01..601ace4195 100644
--- a/string/test-memset.c
+++ b/string/test-memset.c
@@ -193,7 +193,7 @@ test_main (void)
printf ("\t%s", impl->name);
putchar ('\n');
- for (c = 0; c <= 130; c += 65)
+ for (c = -65; c <= 130; c += 65)
{
for (i = 0; i < 18; ++i)
do_test (0, c, 1 << i);