[BACK]Return to parse.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ctfconv

Diff for /src/usr.bin/ctfconv/parse.c between version 1.10 and 1.11

version 1.10, 2017/10/31 10:08:51 version 1.11, 2018/01/31 14:47:13
Line 324 
Line 324 
         if ((diff = (a->it_type - b->it_type)) != 0)          if ((diff = (a->it_type - b->it_type)) != 0)
                 return diff;                  return diff;
   
           /* Basic types need to have the same size. */
           if ((a->it_type == CTF_K_INTEGER || a->it_type == CTF_K_FLOAT) &&
               (diff = (a->it_size - b->it_size) != 0))
                   return diff;
   
         /* Match by name */          /* Match by name */
         if (!(a->it_flags & ITF_ANON) && !(b->it_flags & ITF_ANON))          if (!(a->it_flags & ITF_ANON) && !(b->it_flags & ITF_ANON))
                 return strcmp(it_name(a), it_name(b));                  return strcmp(it_name(a), it_name(b));

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11