Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA
Path: utzoo!watmath!clyde!burl!ulysses!allegra!bellcore!decvax!wanginst!ucadmus!harvard!seismo!brl-tgr!gwyn
From: gwyn@brl-tgr.ARPA (Doug Gwyn )
Newsgroups: net.unix-wizards,net.bugs.usg
Subject: Re: Shell out bug in pg (but a more general problem)
Message-ID: <9069@brl-tgr.ARPA>
Date: Fri, 8-Mar-85 09:01:39 EST
Article-I.D.: brl-tgr.9069
Posted: Fri Mar  8 09:01:39 1985
Date-Received: Mon, 11-Mar-85 04:51:08 EST
References: <12@istbt.UUCP> <562@rlgvax.UUCP>
Organization: Ballistic Research Lab
Lines: 12
Xref: watmath net.unix-wizards:12393 net.bugs.usg:191

> Any such code out there should be redone, and all future code which
> waits for children *must* check that the process which exited is the
> process that was being waited for.

Of course, if there are no remaining children, the parent should
also quit trying to wait..

One does sometimes wonder where the people who write this stuff in
the first place learned to program.  I have lost count of the bugs
I have found (and trivially fixed) in UNIX System V utilities.
(Before people start flaming, I have found a similar situation in
all other versions of UNIX that I have encountered.)