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

[Cluster-devel] Cluster Project branch, STABLE2, updated. cluster-2.03.04-11-g82c0828



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=82c082823e91ad190592cffb7a3dad3f187b3713

The branch, STABLE2 has been updated
       via  82c082823e91ad190592cffb7a3dad3f187b3713 (commit)
      from  b88fc67061456f976f1f19c079cc2d59ba158f1b (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 82c082823e91ad190592cffb7a3dad3f187b3713
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 72f89ab..5fcaaa0 100644
--- a/ccs/daemon/cnx_mgr.c
+++ b/ccs/daemon/cnx_mgr.c
@@ -304,7 +304,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_dbg("Select waiting %d usec\n", tv.tv_usec);
+#else
     log_dbg("Select waiting %ld usec\n", tv.tv_usec);
+#endif
     while((error = select(sfd+1, &rset, NULL,NULL, &tv))){
       log_dbg("Select returns %d\n", error);
       if(error < 0){
@@ -425,7 +429,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_dbg("Select waiting %d usec\n", tv.tv_usec);
+#else
       log_dbg("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]