version 1.189, 2020/04/18 20:28:46 |
version 1.190, 2020/04/24 11:58:02 |
|
|
|
|
struct buf blk; |
struct buf blk; |
struct buf *save_primary; |
struct buf *save_primary; |
const char *save_filename; |
const char *save_filename, *cp; |
size_t offset; |
size_t offset; |
int save_filenc, save_lineno; |
int save_filenc, save_lineno; |
int with_mmap; |
int with_mmap; |
|
|
if (recursion_depth > 64) { |
if (recursion_depth > 64) { |
mandoc_msg(MANDOCERR_ROFFLOOP, curp->line, 0, NULL); |
mandoc_msg(MANDOCERR_ROFFLOOP, curp->line, 0, NULL); |
return; |
return; |
} |
} else if (recursion_depth == 0 && |
|
(cp = strrchr(filename, '.')) != NULL && |
|
cp[1] >= '1' && cp[1] <= '9') |
|
curp->man->filesec = cp[1]; |
|
else |
|
curp->man->filesec = '\0'; |
|
|
if (read_whole_file(curp, fd, &blk, &with_mmap) == -1) |
if (read_whole_file(curp, fd, &blk, &with_mmap) == -1) |
return; |
return; |
|
|