[distcc] errno not reset by connect(2)
Martin Pool
mbp at sourcefrog.net
Fri Nov 12 04:43:19 GMT 2004
On 12 Nov 2004, Martin Pool <mbp at sourcefrog.net> wrote:
> On 5 Nov 2004, Daniel Kegel <dank at kegel.com> wrote:
> > Oh, I see now. It's the line after Jean's patch where
> > distcc checks errno:
> >
> > while ((connect(fd, sa, salen) == -1) && errno == EINTR)
> > ;
> >
> > if (errno && errno != EINPROGRESS) {
> Thanks, guys. There are actually several of these.
I meant there were several cases where we loop on EINTR, but it turns
out that the others are safe. I did know that errno wouldn't be
reset, but I slipped.
--
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/distcc/attachments/20041112/ef5dd38d/attachment.bin
More information about the distcc
mailing list