From 4a339a1abe98df7e47434dfaeb2cecb6ca395d48 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sat, 16 Jan 2016 22:30:33 +0000 Subject: unbreak reading from stdin after recent parse() restructuring; patch from florian@ --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 38653d6d..2b4a1072 100644 --- a/main.c +++ b/main.c @@ -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) -- cgit