in reply to Re: why does ignoring sigCHLD corrupt return value from system()?
in thread why does ignoring sigCHLD corrupt return value from system()?
I just recompiled a new version of 5.8.1 on my linux box and it still exhibits the same behavior. Oh, and I changed the parameter to system() to be './prog2.pl' with the same results. It looks like this account has a 'dot' in the $PATH. (bad, I know)
Here are the versions that I have tested:
linux 2.4.20-20.9 kernel (from RedHat9)
tested with both perl v5.8.0 and v5.8.1
using glibc 2.3.2 (glibc-2.3.2-27.9)
sun 5.8 Generic_108528-17 sun4u sparc SUNW, UltraSPARC-IIi-cEngine
perl v5.6.1
not sure how to tell the C library version on sun
FreeBSD 4.8-RELEASE
perl version 5.005_03
not sure how to tell the C library on FreeBSD
If you guys think I should submit a bug report, I'll definitely do that.
I haven't tested it, but I assume another workaround if someone really needed it would be to do the waitpid() inside of a reaper subroutine construct.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: why does ignoring sigCHLD corrupt return value from system()?
by ant9000 (Monk) on Nov 05, 2003 at 11:12 UTC | |
by fiberhalo (Acolyte) on Nov 05, 2003 at 16:08 UTC | |
by ant9000 (Monk) on Nov 05, 2003 at 17:27 UTC | |
Re: why does ignoring sigCHLD corrupt return value from system()?
by Abigail-II (Bishop) on Nov 05, 2003 at 10:37 UTC |