[distcc] wait4 on Solaris

Kevin Bailey reply.to.list.please at nowhere.com
Mon Sep 16 17:47:00 GMT 2002

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.

BTW, awesome little utility you have there.

More information about the distcc mailing list