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: config by gshi from
([email protected])
2. Linux-HA CVS: heartbeat by gshi from
([email protected])
----------------------------------------------------------------------
Message: 1
Date: Tue, 15 Nov 2005 21:38:07 -0700 (MST)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: config by gshi from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : gshi
Host :
Project : linux-ha
Module : config
Dir : linux-ha/config
Modified Files:
pidtest.c
Log Message:
forgot to add the auther/copyright information
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/config/pidtest.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- pidtest.c 18 Oct 2005 17:10:45 -0000 1.2
+++ pidtest.c 16 Nov 2005 04:38:07 -0000 1.3
@@ -1,3 +1,27 @@
+
+/* Linux-HA: pid test code
+*
+* Author: Jia Ming Pan <[EMAIL PROTECTED]>
+* Modified by Guochun Shi <[EMAIL PROTECTED]>
+*
+* Copyright (c) 2005 International Business Machines
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License
+* as published by the Free Software Foundation; either version 2
+* of the License, or (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+*
+*/
+
#include <sys/types.h>
#include <unistd.h>
#include <pthread.h>
------------------------------
Message: 2
Date: Tue, 15 Nov 2005 22:21:56 -0700 (MST)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: heartbeat by gshi from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : gshi
Host :
Project : linux-ha
Module : heartbeat
Dir : linux-ha/heartbeat
Modified Files:
hb_resource.c
Log Message:
we should not put non-string field into environment setting
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/heartbeat/hb_resource.c,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -3 -r1.80 -r1.81
--- hb_resource.c 28 Sep 2005 20:29:55 -0000 1.80
+++ hb_resource.c 16 Nov 2005 05:21:56 -0000 1.81
@@ -1,4 +1,4 @@
-/* $Id: hb_resource.c,v 1.80 2005/09/28 20:29:55 gshi Exp $ */
+/* $Id: hb_resource.c,v 1.81 2005/11/16 05:21:56 gshi Exp $ */
/*
* hb_resource: Linux-HA heartbeat resource management code
*
@@ -453,7 +453,9 @@
char ename[64];
snprintf(ename, sizeof(ename), "HA_%s"
, msg->names[j]);
- setenv(ename, msg->values[j], 1);
+ if (msg->types[j] == FT_STRING){
+ setenv(ename, msg->values[j],
1);
+ }
}
if (ostatus) {
setenv(OLDSTATUS, ostatus, 1);
@@ -2454,6 +2456,9 @@
/*
* $Log: hb_resource.c,v $
+ * Revision 1.81 2005/11/16 05:21:56 gshi
+ * we should not put non-string field into environment setting
+ *
* Revision 1.80 2005/09/28 20:29:55 gshi
* change the variable debug to debug_level
* define it in cl_log
------------------------------
_______________________________________________
Linux-ha-cvs mailing list
[email protected]
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
End of Linux-ha-cvs Digest, Vol 24, Issue 55
********************************************