[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-1369-g9713476

Volker Lendecke vlendec at samba.org
Fri May 1 19:46:21 GMT 2009


The branch, master has been updated
       via  9713476f65f1b0216007462427a4e66dd74e9dd4 (commit)
      from  30038534f4e846b14ec737a2726213d8a8db9d44 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 9713476f65f1b0216007462427a4e66dd74e9dd4
Author: Volker Lendecke <vl at samba.org>
Date:   Fri May 1 21:34:12 2009 +0200

    Many build farm boxes do not have clock_gettime

-----------------------------------------------------------------------

Summary of changes:
 source3/lib/pthreadpool.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/lib/pthreadpool.c b/source3/lib/pthreadpool.c
index c5f2b41..b62bab0 100644
--- a/source3/lib/pthreadpool.c
+++ b/source3/lib/pthreadpool.c
@@ -333,8 +333,8 @@ static void *pthreadpool_server(void *arg)
 		 * time, exit this thread.
 		 */
 
-		clock_gettime(CLOCK_REALTIME, &timeout);
-		timeout.tv_sec += 1;
+		timeout.tv_sec = time(NULL) + 1;
+		timeout.tv_nsec = 0;
 
 		while ((pool->jobs == NULL) && (pool->shutdown == 0)) {
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list