about summary refs log tree commit diff
path: root/string
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-01-14 07:52:31 +0000
committerUlrich Drepper <drepper@redhat.com>2003-01-14 07:52:31 +0000
commit642eb2a2ed513ab3ad32c9b631cbc65543a44f57 (patch)
tree39ecee47faa4012e03c3c0d3d58f2543963ec076 /string
parent47805511c441858d7d2c898763d844c5227905b8 (diff)
downloadglibc-642eb2a2ed513ab3ad32c9b631cbc65543a44f57.tar.gz
glibc-642eb2a2ed513ab3ad32c9b631cbc65543a44f57.tar.xz
glibc-642eb2a2ed513ab3ad32c9b631cbc65543a44f57.zip
Update.
2003-01-13  Ulrich Drepper  <drepper@redhat.com>

	* string/tester.c (test_strcpy): Use the previously #if 0'ed code
	to test void* parameters.

	* sysdeps/i386/i486/bits/string.h (__STRING_SMALLL_GET16): Cast
	source pointer before dereferencing.
	(__STRING_SMALLL_GET32): Likewise.
	(__memset_gc): Add missing parenthesis around macro arguments.
	Patch by Denis Zaitsev<zzz@cd-club.ru>.

	* sysdeps/i386/i486/bits/string.h (__strspn_cg): Tell the compiler
	that %eax is modified.  Reported by Denis Zaitsev<zzz@cd-club.ru>.
Diffstat (limited to 'string')
-rw-r--r--string/tester.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/string/tester.c b/string/tester.c
index 0a69d2639f..dab570500c 100644
--- a/string/tester.c
+++ b/string/tester.c
@@ -174,13 +174,11 @@ test_strcpy (void)
   SIMPLE_COPY(strcpy, 15, "555555555555555", 56);
   SIMPLE_COPY(strcpy, 16, "6666666666666666", 57);
 
-#if 0
   /* Simple test using implicitly coerced `void *' arguments.  */
   const void *src = "frobozz";
   void *dst = one;
   check (strcpy (dst, src) == dst, 1);
   equal (dst, "frobozz", 2);
-#endif
 }
 
 static void