aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ChangeLog8
-rw-r--r--etc.c3
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5e2022c..7986c6f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-04-01 Fumitoshi UKAI <ukai@debian.or.jp>
+
+ Debian Bug#241192 w3m ipv6 FQDN resolution failure
+ * etc.c (FQDN): need to set ai_flags AI_CANONNAME, since we need
+ ai_canonname here.
+
2004-03-31 AIDA Shinra <shinra@j10n.org>
* [w3m-dev 04050] SSL verify
@@ -8373,4 +8379,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.915 2004/03/30 18:06:42 ukai Exp $
+$Id: ChangeLog,v 1.916 2004/03/31 16:45:39 ukai Exp $
diff --git a/etc.c b/etc.c
index 5fcdb07..b3e3c63 100644
--- a/etc.c
+++ b/etc.c
@@ -1,4 +1,4 @@
-/* $Id: etc.c,v 1.75 2003/10/05 18:52:51 ukai Exp $ */
+/* $Id: etc.c,v 1.76 2004/03/31 16:45:39 ukai Exp $ */
#include "fm.h"
#include <pwd.h>
#include "myctype.h"
@@ -1970,6 +1970,7 @@ FQDN(char *host)
char *namebuf;
memset(&hints, 0, sizeof(hints));
+ hints.ai_flags = AI_CANONNAME;
hints.ai_family = *af;
hints.ai_socktype = SOCK_STREAM;
error = getaddrinfo(host, NULL, &hints, &res0);