Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site hadron.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!godot!harvard!seismo!rlgvax!prcrs!hadron!jsdy From: jsdy@hadron.UUCP (Joseph S. D. Yao) Newsgroups: net.unix-wizards,net.bugs.usg Subject: Re: Shell out bug in pg (but a more general problem) Message-ID: <127@hadron.UUCP> Date: Mon, 11-Mar-85 19:18:29 EST Article-I.D.: hadron.127 Posted: Mon Mar 11 19:18:29 1985 Date-Received: Wed, 13-Mar-85 01:02:17 EST References: <12@istbt.UUCP> <562@rlgvax.UUCP> <9069@brl-tgr.ARPA> Organization: Hadron, Inc., Fairfax, VA Lines: 12 Xref: watmath net.unix-wizards:12409 net.bugs.usg:193 [Re: checking the return value of wait(2) for pid/-1.] > 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. This was being said some time around the era of V E R S I O N 5! All versions of UNIX that I can recall, back to that era, had both this feature and this bug in most of its code. (I'm not familiar with UNIX before 1974/V5 -- the problem may even predate that.) ;-S Joe Yao hadron!jsdy@seismo.{ARPA,UUCP}