From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (fantadrom.bsd.lv [local]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTPA id 166c9db7 for ; Sat, 16 Jan 2016 17:31:04 -0500 (EST) Date: Sat, 16 Jan 2016 17:31:04 -0500 (EST) Message-Id: <9906420234049826627.enqueue@fantadrom.bsd.lv> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: schwarze@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: unbreak reading from stdin after recent parse() restructuring; X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- unbreak reading from stdin after recent parse() restructuring; patch from florian@ Modified Files: -------------- mdocml: main.c Revision Data ------------- Index: main.c =================================================================== RCS file: /home/cvs/mdocml/mdocml/main.c,v retrieving revision 1.262 retrieving revision 1.263 diff -Lmain.c -Lmain.c -u -p -r1.262 -r1.263 --- main.c +++ main.c @@ -720,7 +720,7 @@ parse(struct curparse *curp, int fd, con /* 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) -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv