Shell out bug in pg (but a more general problem)
Joseph S. D. Yao
jsdy at hadron.UUCP
Tue Mar 12 10:18:29 AEST 1985
[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 at seismo.{ARPA,UUCP}
More information about the Comp.unix.wizards
mailing list