diff options
author | minoura <minoura> | 2000-03-09 16:00:09 +0000 |
---|---|---|
committer | minoura <minoura> | 2000-03-09 16:00:09 +0000 |
commit | 69202f413cbf12f8aa3ecbd43f0ee1f58f07b1ee (patch) | |
tree | 951ee1b8bb0129005cf47da969059309c049d9c4 /editors/emacs | |
parent | 233db2abdcf589595740aa8aaceac9a22e0b72b5 (diff) | |
download | pkgsrc-69202f413cbf12f8aa3ecbd43f0ee1f58f07b1ee.tar.gz |
Quit the address loop after a successful connection, to avoid
multiple connection to a v4/v6 host.
Pointed out by IWAMOTO Toshihiro <iwamoto@sat.t.u-tokyo.ac.jp>.
Diffstat (limited to 'editors/emacs')
-rw-r--r-- | editors/emacs/files/patch-sum | 4 | ||||
-rw-r--r-- | editors/emacs/patches/patch-aj | 12 |
2 files changed, 9 insertions, 7 deletions
diff --git a/editors/emacs/files/patch-sum b/editors/emacs/files/patch-sum index 6e7cf3834fc..4e27da4c999 100644 --- a/editors/emacs/files/patch-sum +++ b/editors/emacs/files/patch-sum @@ -1,4 +1,4 @@ -$NetBSD: patch-sum,v 1.7 2000/03/01 07:16:58 minoura Exp $ +$NetBSD: patch-sum,v 1.8 2000/03/09 16:00:09 minoura Exp $ MD5 (patch-aa) = 41d31356a0b856d789ded3ef10bb4349 MD5 (patch-ab) = 8ccfa30c06be5b92e3e0842d2ced41ac @@ -8,7 +8,7 @@ MD5 (patch-af) = 139ec0b39a8bad5ab5cdc2c3785a59de MD5 (patch-ag) = 8b9c6e8c913adad34c90bfa432e88b02 MD5 (patch-ah) = f5d65419396384577c9fc01395b4c056 MD5 (patch-ai) = 3dcf3fe270ee92f099fc8dcdd5e286f9 -MD5 (patch-aj) = 0c3257672010c37e53d32cdd65627996 +MD5 (patch-aj) = 61e6e5128d661dc78d479eec5984d807 MD5 (patch-ak) = ef7fabe3fea75d799d8628d155a8b72c MD5 (patch-aw) = ea21e8b5919296b3e7f31eb2a738136a MD5 (patch-ax) = 46750ed00d5bff9fea4f330b0ca0fc41 diff --git a/editors/emacs/patches/patch-aj b/editors/emacs/patches/patch-aj index bd92ffb4c31..2c9ef872f58 100644 --- a/editors/emacs/patches/patch-aj +++ b/editors/emacs/patches/patch-aj @@ -1,4 +1,4 @@ -$NetBSD: patch-aj,v 1.3 2000/03/01 05:07:41 minoura Exp $ +$NetBSD: patch-aj,v 1.4 2000/03/09 16:00:10 minoura Exp $ From lha@stacken.kth.se Mon Feb 28 03:43:18 2000 Date: Sun, 27 Feb 2000 16:26:07 +0100 @@ -20,8 +20,8 @@ Thanks, Love ---- src/process.c.orig Thu Jul 8 00:36:24 1999 -+++ src/process.c Sun Feb 27 16:03:33 2000 +--- src/process.c.orig Thu Jul 8 07:36:24 1999 ++++ src/process.c Fri Mar 10 00:42:11 2000 @@ -1,7 +1,18 @@ +/* + * Locally hacked process.c to add ipv6 support. -wsr @@ -99,7 +99,7 @@ Love /* Slow down polling to every ten seconds. Some kernels have a bug which causes retrying connect to fail -@@ -1846,6 +1882,84 @@ +@@ -1846,6 +1882,86 @@ #endif #ifndef TERM @@ -177,6 +177,8 @@ Love + Fcons (host, Fcons (name, Qnil))); + } + } ++ else ++ break; + } /* address loop */ + freeaddrinfo(res); +#else /* HAVE_GETADDRINFO */ @@ -184,7 +186,7 @@ Love while (1) { #ifdef TRY_AGAIN -@@ -1936,6 +2050,7 @@ +@@ -1936,6 +2052,7 @@ report_file_error ("connection failed", Fcons (host, Fcons (name, Qnil))); } |