]> git.eshelyaron.com Git - emacs.git/commit
Ensure building and running on non-IPv6 capable hosts works
authorRobert Pluim <rpluim@gmail.com>
Thu, 7 Nov 2019 15:16:39 +0000 (16:16 +0100)
committerRobert Pluim <rpluim@gmail.com>
Fri, 8 Nov 2019 09:04:13 +0000 (10:04 +0100)
commit063277c5ecd82551b2bf1409d1583edc7c0fcaad
tree2c4669471723f2a63aeeed067575778bd5c3bbc8
parent82323253378c310c71cfea393d228321d1fc51f4
Ensure building and running on non-IPv6 capable hosts works

* src/process.c (Fmake_network_process) [AF_INET6]: Only build ::1
localhost when IPv6 is supported.
(Fnetwork_lookup_address_info) [AF_INET6]: Move check for Qipv6 inside
ifdef, since its definition depends on AF_INET6.  Don't return IPv6
addresses when they're not supported.

* test/src/process-tests.el (lookup-family-specification,
lookup-google): Only do IPv6 lookup if IPv6 is supported.
src/process.c
test/src/process-tests.el