[BACK]Return to roff.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/roff.c between version 1.210 and 1.211

version 1.210, 2014/06/25 00:20:19 version 1.211, 2014/06/29 21:20:31
Line 2068  roff_setstrn(struct roffkv **r, const char *name, size
Line 2068  roff_setstrn(struct roffkv **r, const char *name, size
         /* 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.210  
changed lines
  Added in v.1.211

CVSweb