[uClibc-cvs] uClibc/libc/string wstring.c,1.19,1.20

Erik Andersen andersen at uclibc.org
Thu Mar 18 11:28:52 UTC 2004


Update of /var/cvs/uClibc/libc/string
In directory nail:/tmp/cvs-serv7711/libc/string

Modified Files:
	wstring.c 
Log Message:
Based on a patch from Alexandre Oliva, remove all reference to 'bzero' (which
is not a SuSv3 symbol).  Rather than using __bzero internally per Alexandre's
original patch, use memset instead.


Index: wstring.c
===================================================================
RCS file: /var/cvs/uClibc/libc/string/wstring.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- a/wstring.c	11 Feb 2004 23:48:46 -0000	1.19
+++ b/wstring.c	18 Mar 2004 11:28:50 -0000	1.20
@@ -1734,7 +1734,8 @@
 /**********************************************************************/
 #ifdef L_bzero
 
-void bzero(void *s, size_t n)
+weak_alias(__bzero,bzero);
+void __bzero(void *s, size_t n)
 {
 	register unsigned char *p = s;
 #ifdef __BCC__




More information about the uClibc-cvs mailing list