[Spread-cvs] cvs commit: spread/daemon Changelog groups.c

jonathan at spread.org jonathan at spread.org
Wed Apr 6 23:32:21 EDT 2005


jonathan    05/04/06 23:32:21

  Modified:    daemon   Tag: branch_3_17 Changelog groups.c
  Log:
  Fix for bug where members of the same view, actually receive different
  group_ids in the membership message. The bug was caused by a missing
  zero initializer in G_compute_and_notify(). Fix by Yair Amir.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.4.2.5   +7 -0      spread/daemon/Changelog
  
  Index: Changelog
  ===================================================================
  RCS file: /storage/cvsroot/spread/daemon/Changelog,v
  retrieving revision 1.4.2.4
  retrieving revision 1.4.2.5
  diff -u -r1.4.2.4 -r1.4.2.5
  --- Changelog	1 Apr 2005 15:19:43 -0000	1.4.2.4
  +++ Changelog	7 Apr 2005 03:32:21 -0000	1.4.2.5
  @@ -1,3 +1,10 @@
  +Wed Apr  6 23:24:33 2005  Jonathan Stanton  <jonathan at cnds.jhu.edu>
  +
  +	* groups.c (G_compute_and_notify): Add missing initialization
  +	for new_grp->changed. This fixes bug where members of same view
  +	receive different group_ids. Bug reported by Raluca Musaloui-E
  +	and Theo Schlossnagle. Fix by Yair Amir.
  +
   Thu Mar 31 23:44:04 2005  Jonathan Stanton  <jonathan at cnds.jhu.edu>
    
          * sp.c (SP_internal_multicast): Check for short writes on network 
  
  
  
  1.17.2.3  +1 -1      spread/daemon/groups.c
  
  Index: groups.c
  ===================================================================
  RCS file: /storage/cvsroot/spread/daemon/groups.c,v
  retrieving revision 1.17.2.2
  retrieving revision 1.17.2.3
  diff -u -r1.17.2.2 -r1.17.2.3
  --- groups.c	2 Dec 2004 23:50:27 -0000	1.17.2.2
  +++ groups.c	7 Apr 2005 03:32:21 -0000	1.17.2.3
  @@ -1566,7 +1566,7 @@
   			strcpy( new_grp->name, this_group->name );
   	
   			new_grp->grp_id = this_group->grp_id;
  -
  +			new_grp->changed = 0;
   			new_grp->num_members = 0;
   			sl_init( &new_grp->MembersList );
   			sl_set_compare( &new_grp->MembersList,
  
  
  



More information about the Spread-cvs mailing list