Send Linux-ha-cvs mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Linux-ha-cvs digest..."
Today's Topics:
1. Linux-HA CVS: membership by zhenh from
([email protected])
2. Linux-HA CVS: membership by davidlee from
([email protected])
----------------------------------------------------------------------
Message: 1
Date: Wed, 15 Mar 2006 18:24:56 -0700 (MST)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: membership by zhenh from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : zhenh
Host :
Project : linux-ha
Module : membership
Dir : linux-ha/membership/ccm
Modified Files:
ccmclient.c
Log Message:
fix a bug, gpointer is 64bits in 64-bit linux
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/membership/ccm/ccmclient.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -3 -r1.37 -r1.38
--- ccmclient.c 13 Mar 2006 08:11:14 -0000 1.37
+++ ccmclient.c 16 Mar 2006 01:24:56 -0000 1.38
@@ -1,4 +1,4 @@
-/* $Id: ccmclient.c,v 1.37 2006/03/13 08:11:14 zhenh Exp $ */
+/* $Id: ccmclient.c,v 1.38 2006/03/16 01:24:56 zhenh Exp $ */
/*
* client.c: Consensus Cluster Client tracker
*
@@ -96,7 +96,7 @@
send_func(gpointer key, gpointer value, gpointer user_data)
{
ccm_client_t *ccm_client = (ccm_client_t *)value;
- int msg_type = (int) user_data;
+ int msg_type = GPOINTER_TO_INT(user_data);
switch (msg_type) {
case CCM_EVICTED:
if(ccm_client->ccm_flags == CL_MEM) {
------------------------------
Message: 2
Date: Thu, 16 Mar 2006 03:24:15 -0700 (MST)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: membership by davidlee from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : davidlee
Host :
Project : linux-ha
Module : membership
Dir : linux-ha/membership/ccm
Modified Files:
ccmclient.c
Log Message:
bug fix (complements v.1.38) for 64-bit platforms
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/membership/ccm/ccmclient.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -3 -r1.38 -r1.39
--- ccmclient.c 16 Mar 2006 01:24:56 -0000 1.38
+++ ccmclient.c 16 Mar 2006 10:24:14 -0000 1.39
@@ -1,4 +1,4 @@
-/* $Id: ccmclient.c,v 1.38 2006/03/16 01:24:56 zhenh Exp $ */
+/* $Id: ccmclient.c,v 1.39 2006/03/16 10:24:14 davidlee Exp $ */
/*
* client.c: Consensus Cluster Client tracker
*
@@ -183,7 +183,7 @@
send_all(int msg_type)
{
if(g_hash_table_size(ccm_hashclient)) {
- g_hash_table_foreach(ccm_hashclient, send_func,
(gpointer)msg_type);
+ g_hash_table_foreach(ccm_hashclient, send_func,
GINT_TO_POINTER(msg_type));
}
return;
}
------------------------------
_______________________________________________
Linux-ha-cvs mailing list
[email protected]
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
End of Linux-ha-cvs Digest, Vol 28, Issue 31
********************************************