[uClibc-cvs] CVS uClibc/libpthread/linuxthreads

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


Update of /var/cvs/uClibc/libpthread/linuxthreads
In directory nail:/tmp/cvs-serv22446/libpthread/linuxthreads

Modified Files:
	pthread.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/libpthread/linuxthreads/pthread.c	2004/02/11 23:48:50	1.13
+++ /var/cvs/uClibc/libpthread/linuxthreads/pthread.c	2004/10/19 20:10:16	1.14
@@ -889,7 +889,7 @@
 	struct timespec reltime;
 
 	/* Compute a time offset relative to now.  */
-	__gettimeofday (&now, NULL);
+	__libc_gettimeofday (&now, NULL);
 	reltime.tv_nsec = abstime->tv_nsec - now.tv_usec * 1000;
 	reltime.tv_sec = abstime->tv_sec - now.tv_sec;
 	if (reltime.tv_nsec < 0) {
@@ -974,7 +974,7 @@
 	    struct timespec reltime;
 
 	    /* Compute a time offset relative to now.  */
-	    gettimeofday (&now, NULL);
+	    __libc_gettimeofday (&now, NULL);
 	    reltime.tv_nsec = abstime->tv_nsec - now.tv_usec * 1000;
 	    reltime.tv_sec = abstime->tv_sec - now.tv_sec;
 	    if (reltime.tv_nsec < 0) {



More information about the uClibc-cvs mailing list