Re: [libgo] Replace wait4 by waitpid (PR go/47515)

2011-03-31 Thread Rainer Orth
Ian Lance Taylor writes: > Thanks for the patch, but I wasn't entirely happy with the approach > because it removes the os.Waitmsg.Rusage field. That field is > inherently system dependent but I would rather not get rid of it. I > wrote this patch instead, which I hope will also solve the probl

Re: [libgo] Replace wait4 by waitpid (PR go/47515)

2011-03-30 Thread Ian Lance Taylor
Rainer Orth writes: > Currently, libgo uses wait4 unconditionally, which is missing on IRIX > 6.5. Fortunately, the rusage * arg is used nowhere, so I've decide to > replace wait4 by waitpid, which seems to be considerably more portable. Thanks for the patch, but I wasn't entirely happy with th

[libgo] Replace wait4 by waitpid (PR go/47515)

2011-03-22 Thread Rainer Orth
Currently, libgo uses wait4 unconditionally, which is missing on IRIX 6.5. Fortunately, the rusage * arg is used nowhere, so I've decide to replace wait4 by waitpid, which seems to be considerably more portable. The following patch does this. Together with the IRIX 6 infrastructure patch (to be