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

Diff for /src/usr.bin/mandoc/roff.c between version 1.83 and 1.84

version 1.83, 2014/06/25 00:19:17 version 1.84, 2014/06/29 21:19:34
Line 2064 
Line 2064 
         /* Search for an existing string with the same name. */          /* Search for an existing string with the same name. */
         n = *r;          n = *r;
   
         while (n && strcmp(name, n->key.p))          while (n && (namesz != n->key.sz ||
                           strncmp(n->key.p, name, namesz)))
                 n = n->next;                  n = n->next;
   
         if (NULL == n) {          if (NULL == n) {

Legend:
Removed from v.1.83  
changed lines
  Added in v.1.84