diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2016-01-16 22:30:33 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2016-01-16 22:30:33 +0000 |
commit | 4a339a1abe98df7e47434dfaeb2cecb6ca395d48 (patch) | |
tree | d8260a8ce1383456bb2bebe7724d11bdbb56b45a /main.c | |
parent | 991e8ce56edd88e765887e8769dc2bfb9d7ae72e (diff) | |
download | mandoc-4a339a1abe98df7e47434dfaeb2cecb6ca395d48.tar.gz |
unbreak reading from stdin after recent parse() restructuring;
patch from florian@
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |