MFV r294260:
Fix a wrong assertion in mandoc by applying OpenBSD main.c,v 1.170 (florian): Unbreak reading from stdin after recent parse() restructuring. OK schwarze@
This commit is contained in:
parent
834f0a67dd
commit
0429a1cd8d
@ -720,7 +720,7 @@ parse(struct curparse *curp, int fd, const char *file)
|
||||
/* Begin by parsing the file itself. */
|
||||
|
||||
assert(file);
|
||||
assert(fd > 0);
|
||||
assert(fd >= 0);
|
||||
|
||||
rctmp = mparse_readfd(curp->mp, fd, file);
|
||||
if (fd != STDIN_FILENO)
|
||||
|
Loading…
Reference in New Issue
Block a user