Skip to content

Commit

Permalink
- (djm) Add workaround for Linux 2.4's gratuitious errno change. Patch
Browse files Browse the repository at this point in the history
  from Martin Johansson <[email protected]>
  • Loading branch information
djmdjm committed Oct 14, 2000
1 parent 15b2952 commit 89d9796
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CREDITS
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ Kiyokazu SUTO <[email protected]> - Bugfixes
Larry Jones <[email protected]> - Bugfixes
Lutz Jaenicke <[email protected]> - Bugfixes
Marc G. Fournier <[email protected]> - Solaris patches
Martin Johansson <[email protected]> - Linux fixes
Mark Miller <[email protected]> - Bugfixes
Matt Richards <[email protected]> - AIX patches
Michael Stone <[email protected]> - Irix enhancements
Expand Down Expand Up @@ -81,4 +82,4 @@ Zack Weinberg <[email protected]> - GNOME askpass enhancement

Apologies to anyone I have missed.

Damien Miller <djm@ibs.com.au>
Damien Miller <djm@mindrot.org>
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
20001014
- (djm) Don't accept PAM_PROMPT_ECHO_ON messages during initial auth
- (djm) Revert SSH2 serverloop hack, will find a better way.
- (djm) Add workaround for Linux 2.4's gratuitious errno change. Patch
from Martin Johansson <[email protected]>

20001007
- (stevesk) Print PAM return value in PAM log messages to aid
Expand Down
2 changes: 1 addition & 1 deletion channels.c
Original file line number Diff line number Diff line change
Expand Up @@ -1759,7 +1759,7 @@ x11_create_display_inet(int screen_number, int x11_display_offset)
continue;
sock = socket(ai->ai_family, SOCK_STREAM, 0);
if (sock < 0) {
if (errno != EINVAL) {
if ((errno != EINVAL) && (errno != EAFNOSUPPORT)) {
error("socket: %.100s", strerror(errno));
return NULL;
} else {
Expand Down

0 comments on commit 89d9796

Please sign in to comment.