[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] Cluster Project branch, master, updated. cluster-2.99.04-23-g552a28f



This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cluster Project".

http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=552a28f82bf2aef8ea05af0a3c9c1702ba23326c

The branch, master has been updated
       via  552a28f82bf2aef8ea05af0a3c9c1702ba23326c (commit)
      from  d74f235cfa69851083cf01e080387f5a0f50abdb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 552a28f82bf2aef8ea05af0a3c9c1702ba23326c
Author: Fabio M. Di Nitto <fdinitto redhat com>
Date:   Fri Jun 13 06:05:49 2008 +0200

    [CCS] Fix build warnings on sparc
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto redhat com>

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

Summary of changes:
 ccs/daemon/cnx_mgr.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/ccs/daemon/cnx_mgr.c b/ccs/daemon/cnx_mgr.c
index 70fdeba..0c04082 100644
--- a/ccs/daemon/cnx_mgr.c
+++ b/ccs/daemon/cnx_mgr.c
@@ -306,7 +306,11 @@ static int broadcast_for_doc(char *cluster_name, int blocking){
     tv.tv_sec = 0;
     
     tv.tv_usec = 250000 + (random()%500000);
+#if defined(__sparc__)
+    log_printf(LOG_DEBUG, "Select waiting %d usec\n", tv.tv_usec);
+#else
     log_printf(LOG_DEBUG, "Select waiting %ld usec\n", tv.tv_usec);
+#endif
     while((error = select(sfd+1, &rset, NULL,NULL, &tv))){
       log_printf(LOG_DEBUG, "Select returns %d\n", error);
       if(error < 0){
@@ -427,7 +431,11 @@ static int broadcast_for_doc(char *cluster_name, int blocking){
     reset_timer:
       tv.tv_sec = 0;
       tv.tv_usec = 250000 + (random()%500000);
+#if defined(__sparc__)
+      log_printf(LOG_DEBUG, "Select waiting %d usec\n", tv.tv_usec);
+#else
       log_printf(LOG_DEBUG, "Select waiting %ld usec\n", tv.tv_usec);
+#endif
     }
   } while(blocking && !master_doc);
  out:


hooks/post-receive
--
Cluster Project


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]