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

Diff for /src/usr.bin/mandoc/man_validate.c between version 1.17 and 1.18

version 1.17, 2010/04/03 16:33:01 version 1.18, 2010/04/07 23:15:05
Line 166 
Line 166 
         if (NULL == m->meta.title) {          if (NULL == m->meta.title) {
                 if ( ! man_nwarn(m, n, WNOTITLE))                  if ( ! man_nwarn(m, n, WNOTITLE))
                         return(0);                          return(0);
                   /*
                    * If a title hasn't been set, do so now (by
                    * implication, date and section also aren't set).
                    *
                    * FIXME: this should be in man_action.c.
                    */
                 m->meta.title = mandoc_strdup("unknown");                  m->meta.title = mandoc_strdup("unknown");
                   m->meta.date = time(NULL);
                   m->meta.msec = 1;
         }          }
   
         return(1);          return(1);

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18