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

Diff for /mandoc/man_validate.c between version 1.129 and 1.130

version 1.129, 2017/06/17 16:47:48 version 1.130, 2017/06/17 22:43:14
Line 170  check_root(CHKARGS)
Line 170  check_root(CHKARGS)
                 man->meta.date = man->quick ? mandoc_strdup("") :                  man->meta.date = man->quick ? mandoc_strdup("") :
                     mandoc_normdate(man, NULL, n->line, n->pos);                      mandoc_normdate(man, NULL, n->line, n->pos);
         }          }
   
           if (man->meta.os_e &&
               (man->meta.rcsids & (1 << man->meta.os_e)) == 0)
                   mandoc_msg(MANDOCERR_RCS_MISSING, man->parse, 0, 0, NULL);
 }  }
   
 static void  static void
Line 338  post_TH(CHKARGS)
Line 342  post_TH(CHKARGS)
                 man->meta.os = mandoc_strdup(n->string);                  man->meta.os = mandoc_strdup(n->string);
         else if (man->defos != NULL)          else if (man->defos != NULL)
                 man->meta.os = mandoc_strdup(man->defos);                  man->meta.os = mandoc_strdup(man->defos);
           man->meta.os_e = man->meta.os == NULL ? MDOC_OS_OTHER :
               strstr(man->meta.os, "OpenBSD") != NULL ? MDOC_OS_OPENBSD :
               strstr(man->meta.os, "NetBSD") != NULL ? MDOC_OS_NETBSD :
               MDOC_OS_OTHER;
   
         /* TITLE MSEC DATE OS ->VOL<- */          /* TITLE MSEC DATE OS ->VOL<- */
         /* If missing, use the default VOL name for MSEC. */          /* If missing, use the default VOL name for MSEC. */

Legend:
Removed from v.1.129  
changed lines
  Added in v.1.130

CVSweb