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

Diff for /mandoc/mdoc_validate.c between version 1.2 and 1.3

version 1.2, 2009/03/31 13:50:19 version 1.3, 2009/04/02 16:37:40
Line 311  const struct valids mdoc_valids[MDOC_MAX] = {
Line 311  const struct valids mdoc_valids[MDOC_MAX] = {
   
   
 #ifdef __linux__  #ifdef __linux__
 extern  size_t  strlcpy(char *, const char *, size_t);  
 extern  size_t  strlcat(char *, const char *, size_t);  extern  size_t  strlcat(char *, const char *, size_t);
 #endif  #endif
   
Line 1352  post_sh_head(POST_ARGS)
Line 1351  post_sh_head(POST_ARGS)
   
         /* This is just concat() inlined, which is irritating. */          /* This is just concat() inlined, which is irritating. */
   
           buf[0] = 0;
         for (n = mdoc->last->child; n; n = n->next) {          for (n = mdoc->last->child; n; n = n->next) {
                 assert(MDOC_TEXT == n->type);                  assert(MDOC_TEXT == n->type);
                 if (strlcat(buf, n->string, 64) >= 64)                  if (strlcat(buf, n->string, 64) >= 64)

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

CVSweb