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

Diff for /mandoc/Attic/mdoc_action.c between version 1.4 and 1.5

version 1.4, 2009/04/02 16:37:40 version 1.5, 2009/04/03 11:08:39
Line 343  post_nm(POST_ARGS)
Line 343  post_nm(POST_ARGS)
   
         if (m->meta.name)          if (m->meta.name)
                 return(1);                  return(1);
   
           buf[0] = 0;
         if ( ! concat(m, m->last->child, buf, sizeof(buf)))          if ( ! concat(m, m->last->child, buf, sizeof(buf)))
                 return(0);                  return(0);
         if (NULL == (m->meta.name = strdup(buf)))          if (NULL == (m->meta.name = strdup(buf)))
Line 366  post_sh(POST_ARGS)
Line 368  post_sh(POST_ARGS)
   
         if (MDOC_HEAD != m->last->type)          if (MDOC_HEAD != m->last->type)
                 return(1);                  return(1);
   
           buf[0] = 0;
         if ( ! concat(m, m->last->child, buf, sizeof(buf)))          if ( ! concat(m, m->last->child, buf, sizeof(buf)))
                 return(0);                  return(0);
         if (SEC_CUSTOM != (sec = mdoc_atosec(buf)))          if (SEC_CUSTOM != (sec = mdoc_atosec(buf)))
Line 694  post_dd(POST_ARGS)
Line 698  post_dd(POST_ARGS)
 {  {
         char              buf[64];          char              buf[64];
   
           buf[0] = 0;
         if ( ! concat(m, m->last->child, buf, sizeof(buf)))          if ( ! concat(m, m->last->child, buf, sizeof(buf)))
                 return(0);                  return(0);
   

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

CVSweb