[uClibc-cvs] CVS uClibc/libc/inet/rpc

CVS User andersen andersen at codepoet.org
Tue Oct 19 20:10:10 UTC 2004


Update of /var/cvs/uClibc/libc/inet/rpc
In directory nail:/tmp/cvs-serv22446/libc/inet/rpc

Modified Files:
	auth_unix.c create_xid.c 
Log Message:
Peter S. Mazinger writes:

Hello!

Would the attached patch be acceptable (maybe instead of
__libc_gettimeofday using __gettimeofday)

We have some issues, see

http://bugs.gentoo.org/show_bug.cgi?id=65892



--- /var/cvs/uClibc/libc/inet/rpc/auth_unix.c	2002/06/17 21:12:14	1.8
+++ /var/cvs/uClibc/libc/inet/rpc/auth_unix.c	2004/10/19 20:10:09	1.9
@@ -130,7 +130,7 @@
   /*
    * fill in param struct from the given params
    */
-  (void) gettimeofday (&now, (struct timezone *) 0);
+  (void) __libc_gettimeofday (&now, (struct timezone *) 0);
   aup.aup_time = now.tv_sec;
   aup.aup_machname = machname;
   aup.aup_uid = uid;
@@ -265,7 +265,7 @@
     goto done;
 
   /* update the time and serialize in place */
-  (void) gettimeofday (&now, (struct timezone *) 0);
+  (void) __libc_gettimeofday (&now, (struct timezone *) 0);
   aup.aup_time = now.tv_sec;
   xdrs.x_op = XDR_ENCODE;
   XDR_SETPOS (&xdrs, 0);
--- /var/cvs/uClibc/libc/inet/rpc/create_xid.c	2003/12/27 23:30:31	1.3
+++ /var/cvs/uClibc/libc/inet/rpc/create_xid.c	2004/10/19 20:10:09	1.4
@@ -51,7 +51,7 @@
     {
       struct timeval now;
 
-      gettimeofday (&now, (struct timezone *) 0);
+      __libc_gettimeofday (&now, (struct timezone *) 0);
       srand48_r (now.tv_sec ^ now.tv_usec, &__rpc_lrand48_data);
       is_initialized = 1;
     }



More information about the uClibc-cvs mailing list