Comment # 1
              on bug 8496
              from  Hadriel Kaplan
        Ugh, pressed submit before being done.
I meant to add one more thing - the reason the same_name_next thing matters s
because in Field__call() in wslua_field.c, the for-loop is supposed to iterate
over every field/hfinfo type of the same abbreviation.  It does that by doing:
    for (;in;in = in->same_name_next)
But the same_name_next is NULL for duplicate hfinfo's, because of the odd
behavior in proto_register_field_init() discussed in the comment above.  If I
change it to this instead:
    for (;in;in = in->same_name_prev)
It works. But I'm not sure whether that's just working around the root cause
bug, or if that's really the way proto_register_field_init() was intended to
behave.
         
      
      
      You are receiving this mail because:
      
      
          - You are watching all bug changes.