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

Diff for /mandoc/main.c between version 1.346 and 1.347

version 1.346, 2020/03/19 12:21:37 version 1.347, 2020/03/28 16:18:43
Line 609  main(int argc, char *argv[])
Line 609  main(int argc, char *argv[])
                 (void)fchdir(startdir);                  (void)fchdir(startdir);
                 close(startdir);                  close(startdir);
         }          }
         if (outst.outtype <= OUTT_UTF8)          term_tag_finish();
                 term_tag_finish();  
         if (outst.outdata != NULL) {          if (outst.outdata != NULL) {
                 switch (outst.outtype) {                  switch (outst.outtype) {
                 case OUTT_HTML:                  case OUTT_HTML:
Line 832  process_onefile(struct mparse *mp, struct manpage *res
Line 831  process_onefile(struct mparse *mp, struct manpage *res
         } else          } else
                 fd = STDIN_FILENO;                  fd = STDIN_FILENO;
   
         if (outst->outtype <= OUTT_UTF8) {          if (outst->use_pager) {
                 if (outst->use_pager) {                  outst->use_pager = 0;
                         outst->use_pager = 0;                  outst->tag_files = term_tag_init(conf->output.tag);
                         outst->tag_files = term_tag_init(conf->output.tag);          }
                 }          if (outst->had_output && outst->outtype <= OUTT_UTF8) {
                 if (outst->had_output) {                  if (outst->outdata == NULL)
                         if (outst->outdata == NULL)                          outdata_alloc(outst, &conf->output);
                                 outdata_alloc(outst, &conf->output);                  terminal_sepline(outst->outdata);
                         terminal_sepline(outst->outdata);  
                 }  
         }          }
   
         if (resp->form == FORM_SRC)          if (resp->form == FORM_SRC)

Legend:
Removed from v.1.346  
changed lines
  Added in v.1.347

CVSweb