version 1.216, 2018/12/14 05:17:45 |
version 1.217, 2018/12/20 21:27:51 |
|
|
} else |
} else |
thisarg = *argv; |
thisarg = *argv; |
|
|
mandoc_msg_setinfilename(thisarg); |
|
fd = mparse_open(curp.mp, thisarg); |
fd = mparse_open(curp.mp, thisarg); |
if (fd != -1) { |
if (fd != -1) { |
if (use_pager) { |
if (use_pager) { |
|
|
conf.output.tag : *argv; |
conf.output.tag : *argv; |
} |
} |
|
|
|
mandoc_msg_setinfilename(thisarg); |
if (resp == NULL || resp->form == FORM_SRC) |
if (resp == NULL || resp->form == FORM_SRC) |
parse(&curp, fd, thisarg); |
parse(&curp, fd, thisarg); |
else |
else |
passthrough(resp->file, fd, |
passthrough(resp->file, fd, |
conf.output.synopsisonly); |
conf.output.synopsisonly); |
|
mandoc_msg_setinfilename(NULL); |
|
|
if (ferror(stdout)) { |
if (ferror(stdout)) { |
if (tag_files != NULL) { |
if (tag_files != NULL) { |
|
|
outdata_alloc(&curp); |
outdata_alloc(&curp); |
terminal_sepline(curp.outdata); |
terminal_sepline(curp.outdata); |
} |
} |
} |
} else |
mandoc_msg_setinfilename(NULL); |
mandoc_msg(MANDOCERR_FILE, 0, 0, |
|
"%s", strerror(errno)); |
|
|
if (curp.wstop && mandoc_msg_getrc() != MANDOCLEVEL_OK) |
if (curp.wstop && mandoc_msg_getrc() != MANDOCLEVEL_OK) |
break; |
break; |