*** Protocol.m.old	Fri Jul  4 12:27:56 2003
--- Protocol.m	Fri Jul  4 12:28:55 2003
*************** struct objc_method_description_list {
*** 80,89 ****
    const char* name = sel_get_name (aSel);
    struct objc_method_description *result;
  
!   for (i = 0; i < instance_methods->count; i++)
      {
!       if (!strcmp ((char*)instance_methods->list[i].name, name))
! 	return &(instance_methods->list[i]);
      }
  
    for (proto_list = protocol_list; proto_list; proto_list = proto_list->next)
--- 80,92 ----
    const char* name = sel_get_name (aSel);
    struct objc_method_description *result;
  
!   if (instance_methods != 0)
      {
!       for (i = 0; i < instance_methods->count; i++)
! 	{
! 	  if (!strcmp ((char*)instance_methods->list[i].name, name))
! 	    return &(instance_methods->list[i]);
! 	}
      }
  
    for (proto_list = protocol_list; proto_list; proto_list = proto_list->next)
*************** struct objc_method_description_list {
*** 107,116 ****
    const char* name = sel_get_name (aSel);
    struct objc_method_description *result;
  
!   for (i = 0; i < class_methods->count; i++)
      {
!       if (!strcmp ((char*)class_methods->list[i].name, name))
! 	return &(class_methods->list[i]);
      }
  
    for (proto_list = protocol_list; proto_list; proto_list = proto_list->next)
--- 110,122 ----
    const char* name = sel_get_name (aSel);
    struct objc_method_description *result;
  
!   if (class_methods != 0)
      {
!       for (i = 0; i < class_methods->count; i++)
! 	{
! 	  if (!strcmp ((char*)class_methods->list[i].name, name))
! 	    return &(class_methods->list[i]);
! 	}
      }
  
    for (proto_list = protocol_list; proto_list; proto_list = proto_list->next)
