version 1.120, 2015/10/30 19:03:36 |
version 1.121, 2016/01/08 02:13:35 |
|
|
if (mparse_open(curp, &fd, ln.buf + of) == |
if (mparse_open(curp, &fd, ln.buf + of) == |
MANDOCLEVEL_OK) { |
MANDOCLEVEL_OK) { |
mparse_readfd(curp, fd, ln.buf + of); |
mparse_readfd(curp, fd, ln.buf + of); |
|
close(fd); |
curp->file = save_file; |
curp->file = save_file; |
} else { |
} else { |
curp->file = save_file; |
curp->file = save_file; |
|
|
else |
else |
free(blk.buf); |
free(blk.buf); |
} |
} |
|
|
if (fd != STDIN_FILENO && close(fd) == -1) |
|
perror(file); |
|
|
|
return curp->file_status; |
return curp->file_status; |
} |
} |
|
|