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: lrm by alan from  ([email protected])


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

Message: 1
Date: Tue, 27 Dec 2005 09:59:15 -0700 (MST)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: lrm by alan from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : alan
Host    : 
Project : linux-ha
Module  : lrm

Dir     : linux-ha/lrm/lrmd


Modified Files:
        lrmd.c 


Log Message:
Put in a note about a bug in the form of a FIXME
I can't fix it right this minute.  Sorry...

===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/lrm/lrmd/lrmd.c,v
retrieving revision 1.197
retrieving revision 1.198
diff -u -3 -r1.197 -r1.198
--- lrmd.c      27 Dec 2005 16:12:11 -0000      1.197
+++ lrmd.c      27 Dec 2005 16:59:15 -0000      1.198
@@ -1,4 +1,4 @@
-/* $Id: lrmd.c,v 1.197 2005/12/27 16:12:11 alan Exp $ */
+/* $Id: lrmd.c,v 1.198 2005/12/27 16:59:15 alan Exp $ */
 /*
  * Local Resource Manager Daemon
  *
@@ -476,7 +476,7 @@
        op->ra_stderr_fd = -1;
        op->ra_stdout_gsource = NULL;
        op->ra_stderr_gsource = NULL;
-       memset(op->first_line_ra_stdout, 0, sizeof(op->first_line_ra_stdout));
+       op->first_line_ra_stdout[0] = EOS;
        op->t_recv = time_longclock();
        ++lrm_objectstats.opcount;
        return op;
@@ -3245,6 +3245,7 @@
 static gboolean
 handle_pipe_ra_stdout(int fd, gpointer user_data)
 {
+       /* FIXME!!  THIS CANNOT BE A STATIC - you need one per RA! */
        static gboolean first_line = TRUE;
        gboolean rc = TRUE;
        lrmd_op_t* op = (lrmd_op_t *)user_data;
@@ -3463,6 +3464,10 @@
 }
 /*
  * $Log: lrmd.c,v $
+ * Revision 1.198  2005/12/27 16:59:15  alan
+ * Put in a note about a bug in the form of a FIXME
+ * I can't fix it right this minute.  Sorry...
+ *
  * Revision 1.197  2005/12/27 16:12:11  alan
  * Put in a minor fix to only reread (overwrite) the output from stdout if
  * we haven't already captured it.




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

_______________________________________________
Linux-ha-cvs mailing list
[email protected]
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs


End of Linux-ha-cvs Digest, Vol 25, Issue 72
********************************************

Reply via email to