[distcc] wait4 on Solaris

Martin Pool mbp at samba.org
Mon Sep 30 04:21:00 GMT 2002


On 16 Sep 2002, Kevin Bailey <reply.to.list.please at nowhere.com> wrote:
> I'm not sure what people are referring to with regards to the
> W_EXITCODE business, so sorry to rehash an old issue, but when
> using 0.10.1 on Solaris 8, I'm having all compiles die immediately.
> 
> I think it's because Solaris 8's wait4 doesn't support a pid of -1.
> I changed serve.c to pass a 0 instead:
> 
>     wait_ret = dcc_collect_child(0, &status, &u_us, &s_us);
> 
> and it seems to work fine.

Thanks, merged for 0.12

> BTW, awesome little utility you have there.

Thanks!

Can you send in the survey with your performance numbers, please?

-- 
Martin 



More information about the distcc mailing list