Bugzilla – Attachment 1344 Details for
Bug 1356
X11 forwarding broken.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
X11 bind(2) error handling
diff4 (text/plain), 681 bytes, created by
Mark Andrews
on 2007-09-01 14:09:37 AEST
(
hide
)
Description:
X11 bind(2) error handling
Filename:
MIME Type:
Creator:
Mark Andrews
Created:
2007-09-01 14:09:37 AEST
Size:
681 bytes
patch
obsolete
>Index: crypto/openssh/channels.c >=================================================================== >RCS file: /home/ncvs/src/crypto/openssh/channels.c,v >retrieving revision 1.20.2.2 >diff -u -r1.20.2.2 channels.c >--- crypto/openssh/channels.c 6 Oct 2006 14:07:12 -0000 1.20.2.2 >+++ crypto/openssh/channels.c 30 Aug 2007 07:33:12 -0000 >@@ -2892,10 +2892,11 @@ > #endif > channel_set_reuseaddr(sock); > if (bind(sock, ai->ai_addr, ai->ai_addrlen) < 0) { >+ int save_errno = errno; > debug2("bind port %d: %.100s", port, strerror(errno)); > close(sock); > >- if (ai->ai_next) >+ if (save_errno == EADDRNOTAVAIL) > continue; > > for (n = 0; n < num_socks; n++) {
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 1356
:
1343
| 1344