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

Diff for /mandoc/main.c between version 1.352 and 1.353

version 1.352, 2020/07/21 15:10:01 version 1.353, 2020/08/07 20:56:55
Line 847  process_onefile(struct mparse *mp, struct manpage *res
Line 847  process_onefile(struct mparse *mp, struct manpage *res
                 outst->use_pager = 0;                  outst->use_pager = 0;
                 outst->tag_files = term_tag_init(conf->output.outfilename,                  outst->tag_files = term_tag_init(conf->output.outfilename,
                     conf->output.tagfilename);                      conf->output.tagfilename);
   #if HAVE_PLEDGE
                 if ((conf->output.outfilename != NULL ||                  if ((conf->output.outfilename != NULL ||
                      conf->output.tagfilename != NULL) &&                       conf->output.tagfilename != NULL) &&
                     pledge("stdio rpath cpath", NULL) == -1) {                      pledge("stdio rpath cpath", NULL) == -1) {
Line 854  process_onefile(struct mparse *mp, struct manpage *res
Line 855  process_onefile(struct mparse *mp, struct manpage *res
                             "%s", strerror(errno));                              "%s", strerror(errno));
                         exit(mandoc_msg_getrc());                          exit(mandoc_msg_getrc());
                 }                  }
   #endif
         }          }
         if (outst->had_output && outst->outtype <= OUTT_UTF8) {          if (outst->had_output && outst->outtype <= OUTT_UTF8) {
                 if (outst->outdata == NULL)                  if (outst->outdata == NULL)

Legend:
Removed from v.1.352  
changed lines
  Added in v.1.353

CVSweb