[uClibc-cvs] uClibc/libutil logout.c,1.1,1.2
Erik Andersen
andersen at uclibc.org
Thu Mar 18 11:28:53 UTC 2004
- Previous message: [uClibc-cvs] uClibc/libc/string wstring.c,1.19,1.20
- Next message: [uClibc-cvs] uClibc/libc/inet/rpc bindresvport.c, 1.9, 1.10 clnt_generic.c, 1.7, 1.8 pmap_rmt.c, 1.11, 1.12 svc_simple.c, 1.9, 1.10 svc_tcp.c, 1.8, 1.9 svc_udp.c, 1.7, 1.8 xdr_array.c, 1.8, 1.9 xdr_reference.c, 1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/cvs/uClibc/libutil
In directory nail:/tmp/cvs-serv7711/libutil
Modified Files:
logout.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: logout.c
===================================================================
RCS file: /var/cvs/uClibc/libutil/logout.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/logout.c 8 May 2001 19:58:19 -0000 1.1
+++ b/logout.c 18 Mar 2004 11:28:50 -0000 1.2
@@ -45,9 +45,9 @@
if( (ut = getutline(&tmp)) )
{
/* Clear information about who & from where. */
- bzero (ut->ut_name, sizeof ut->ut_name);
+ memset (ut->ut_name, 0, sizeof ut->ut_name);
#if _HAVE_UT_HOST - 0
- bzero (ut->ut_host, sizeof ut->ut_host);
+ memset (ut->ut_host, 0, sizeof ut->ut_host);
#endif
#if _HAVE_UT_TV - 0
gettimeofday (&ut->ut_tv, NULL);
- Previous message: [uClibc-cvs] uClibc/libc/string wstring.c,1.19,1.20
- Next message: [uClibc-cvs] uClibc/libc/inet/rpc bindresvport.c, 1.9, 1.10 clnt_generic.c, 1.7, 1.8 pmap_rmt.c, 1.11, 1.12 svc_simple.c, 1.9, 1.10 svc_tcp.c, 1.8, 1.9 svc_udp.c, 1.7, 1.8 xdr_array.c, 1.8, 1.9 xdr_reference.c, 1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the uClibc-cvs
mailing list