Bugzilla – Attachment 3329 Details for
Bug 3071
unhandled EINTR while connecting causes ssh to exit prematurely
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
misc.c path
misc.c.diff (text/plain), 620 bytes, created by
Matthew Avery
on 2019-09-17 03:40:41 AEST
(
hide
)
Description:
misc.c path
Filename:
MIME Type:
Creator:
Matthew Avery
Created:
2019-09-17 03:40:41 AEST
Size:
620 bytes
patch
obsolete
>diff --git a/misc.c b/misc.c >index c94d2c2..9628ad3 100644 >--- a/misc.c >+++ b/misc.c >@@ -257,7 +257,7 @@ waitrfd(int fd, int *timeoutp) > errno = oerrno; > if (r > 0) > return 0; >- else if (r == -1 && errno != EAGAIN) >+ else if (r == -1 && errno != EAGAIN && errno != EINTR) > return -1; > else if (r == 0) > break; >@@ -290,7 +290,7 @@ timeout_connect(int sockfd, const struct sockaddr *serv_addr, > /* Succeeded already? */ > unset_nonblock(sockfd); > return 0; >- } else if (errno != EINPROGRESS) >+ } else if (errno != EINPROGRESS && errno != EINTR) > return -1; > > if (waitrfd(sockfd, timeoutp) == -1)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 3071
:
3329
|
3401