[distcc] Problem with distcc doing remote compiles locally

Dan Kegel dank at kegel.com
Thu Mar 2 23:38:27 GMT 2006

On 3/2/06, Martin Pool <mbp at sourcefrog.net> wrote:
> I think there is a bug in the select-for-write loop that Dan added to
> dcc_connect_by_addr:

The loop is visible here, for those following along at home:

> Perhaps that check should be hoisted out of the loop.

Yeah, the first check in the loop (the one that checks for EINPROGRESS)
clearly should be outside the loop - it's there to check for immediate connect
errors.  Also, 'failed' never changes inside the loop.

Apologies, and thanks for catching that, Martin.
- Dan

Wine for Windows ISVs: http://kegel.com/wine/isv

More information about the distcc mailing list