Subject: Re: pkg/10972: editors/emacs does not work correctly (IPV6 support seems incorrect)
To: Love <lha@stacken.kth.se>
From: None <itojun@iijlab.net>
List: netbsd-bugs
Date: 09/08/2000 10:47:26
>> >Description:
>> 	When emacs is configured to use IPV6 (--with-ipv6 flag) the
>> 	builtin LISP function open-network-stream does not work. The
>> 	example below demonstrates this. For me it fails with:
>> 
>> 		error creating socket: protocol not supported, mail
>Ok, I think you contacted a host with a AAAA (or A6) rr, but you kernel
>doesn't support IPv6.
>
>The patch that adds getaddrinfo support (patch-aj) have forgotten to ignore
>errors from socket() (but not connect()). A simular construction is needed
>for connect().

	yes, the above understanding is correct.  IIRC the bug is in emacs
	side, and there are fixes sent to emacs maintainer.  i'll try to put
	local patch (patches/patch-xx) for now.

itojun