On Sat, 29 Sep 2001, David Taylor wrote: > On Sat, 29 Sep 2001, Alfred Perlstein wrote: > > > > Why does it need to be corrected? What sort of bad behaviour > > are you seeing? You do 'a' and you see 'b' when you should > > see 'c'. > > > > What's a, b and c? > > > > Well, hypothetically (I have no time to attempt to set something up to test > this), it looks to me like: > > If you: > > 1. Fork, and create a child (say, pid 10) > 2. Call system, which forks and creates a child (say, pid 11) > 3. Make the child (pid 10) exit now. > 3. Interrupt the call to _wait4(pid [=11], ...); >
I've now managed to reproduce this... Test program at http://www.yadt.demon.co.uk/system-bug.tar.gz I'm pretty sure that's incorrect behaviour, and I also beleive the original patch posted to this list should fix it... -- David Taylor [EMAIL PROTECTED]
msg28829/pgp00000.pgp
Description: PGP signature

