Author: jra
Date: 2006-12-13 03:20:57 +0000 (Wed, 13 Dec 2006)
New Revision: 20147

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20147

Log:
Match up EINTR ignoring code from SAMBA_3_0.
Else open_any_socket_out() can fail.
Jeremy.

Modified:
   branches/SAMBA_3_0_24/source/lib/util_sock.c


Changeset:
Modified: branches/SAMBA_3_0_24/source/lib/util_sock.c
===================================================================
--- branches/SAMBA_3_0_24/source/lib/util_sock.c        2006-12-13 01:11:29 UTC 
(rev 20146)
+++ branches/SAMBA_3_0_24/source/lib/util_sock.c        2006-12-13 03:20:57 UTC 
(rev 20147)
@@ -974,7 +974,7 @@
                }
 
                if (errno == EINPROGRESS || errno == EALREADY ||
-                   errno == EAGAIN) {
+                   errno == EAGAIN || errno == EINTR) {
                        /* These are the error messages that something is
                           progressing. */
                        good_connect = True;

Reply via email to