=================================================================== RCS file: /cvs/mandoc/main.c,v retrieving revision 1.262 retrieving revision 1.263 diff -u -p -r1.262 -r1.263 --- mandoc/main.c 2016/01/08 02:53:13 1.262 +++ mandoc/main.c 2016/01/16 22:30:33 1.263 @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.262 2016/01/08 02:53:13 schwarze Exp $ */ +/* $Id: main.c,v 1.263 2016/01/16 22:30:33 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons * Copyright (c) 2010-2012, 2014-2016 Ingo Schwarze @@ -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)