tech@mandoc.bsd.lv
 help / color / mirror / Atom feed
* [PATCH] Fix "Wait: No Child Process"
@ 2015-03-02 10:55 Baptiste Daroussin
  2015-03-02 14:56 ` Ingo Schwarze
  0 siblings, 1 reply; 4+ messages in thread
From: Baptiste Daroussin @ 2015-03-02 10:55 UTC (permalink / raw)
  To: tech


[-- Attachment #1.1: Type: text/plain, Size: 130 bytes --]

Hi,

Here is a small patch to fix mandoc complaining about no child process when .gz
manpages are being read.

Best regards,
Bapt

[-- Attachment #1.2: read.c.diff --]
[-- Type: text/x-diff, Size: 421 bytes --]

Index: read.c
===================================================================
RCS file: /cvs/mdocml/read.c,v
retrieving revision 1.128
diff -u -r1.128 read.c
--- read.c	23 Feb 2015 13:31:04 -0000	1.128
+++ read.c	2 Mar 2015 10:50:12 -0000
@@ -878,6 +878,7 @@
 		    "gunzip failed with code %d", WEXITSTATUS(status));
 		return(MANDOCLEVEL_ERROR);
 	}
+	curp->child = 0;
 	return(MANDOCLEVEL_OK);
 }
 

[-- Attachment #2: Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-03-10  3:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-02 10:55 [PATCH] Fix "Wait: No Child Process" Baptiste Daroussin
2015-03-02 14:56 ` Ingo Schwarze
2015-03-09 21:04   ` Kristaps Dzonsons
2015-03-10  3:23     ` Ingo 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).