source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: unbreak reading from stdin after recent parse() restructuring;
@ 2016-01-16 22:31 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2016-01-16 22:31 UTC (permalink / raw)
  To: source

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-01-16 22:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-16 22:31 mdocml: unbreak reading from stdin after recent parse() restructuring; schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).