[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ai_flags in calls to getaddrinfo, broader call for reproducibility c
From: |
Robert Pluim |
Subject: |
Re: ai_flags in calls to getaddrinfo, broader call for reproducibility check |
Date: |
Tue, 12 Jan 2021 18:56:48 +0100 |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Robert Pluim <rpluim@gmail.com>
>> Cc: rtt@dasyatidae.com, emacs-devel@gnu.org
>> Date: Tue, 12 Jan 2021 17:00:56 +0100
>>
>> > (dns-query "google.com" 'AAAA)
>> > => "2a00:1450:4009:80b:0:0:0:200e"
>> >
>> > So I'm not sure that test is reliable enough for these purposes.
>>
>> Itʼs checking if IPv6 names can be resolved, not if IPv6 works. If you
>> think thatʼs not a useful test, we can remove it.
>
> No, feel free to ignore me. I was just surprised it worked, that's
> all.
>
>> I can condition all the IPv6 tests on the following, which should
>> alleviate your concerns:
>>
>> ;; This will need updating when IANA assign more IPv6 global ranges.
>> (defun ipv6-is-available ()
>> (and (featurep 'make-network-process '(:family ipv6))
>> (cl-rassoc-if
>> (lambda (elt)
>> (and (eq 9 (length elt))
>> (= (logand (aref elt 0) #xe000) #x2000)))
>> (network-interface-list))))
>
> Thanks, that would be good, I think.
Done as 0f6c083251
Robert
- Re: ai_flags in calls to getaddrinfo, broader call for reproducibility check, (continued)
- Re: ai_flags in calls to getaddrinfo, broader call for reproducibility check, Eli Zaretskii, 2021/01/11
- Re: ai_flags in calls to getaddrinfo, broader call for reproducibility check, Eli Zaretskii, 2021/01/11
- Re: ai_flags in calls to getaddrinfo, broader call for reproducibility check, Robert Pluim, 2021/01/11
- Re: ai_flags in calls to getaddrinfo, broader call for reproducibility check, Eli Zaretskii, 2021/01/12
- Re: ai_flags in calls to getaddrinfo, broader call for reproducibility check, Robert Pluim, 2021/01/12
- Re: ai_flags in calls to getaddrinfo, broader call for reproducibility check, Eli Zaretskii, 2021/01/12
- Re: ai_flags in calls to getaddrinfo, broader call for reproducibility check, Robert Pluim, 2021/01/12
- Re: ai_flags in calls to getaddrinfo, broader call for reproducibility check, Eli Zaretskii, 2021/01/12
- Re: ai_flags in calls to getaddrinfo, broader call for reproducibility check,
Robert Pluim <=
- Re: ai_flags in calls to getaddrinfo, broader call for reproducibility check, Basil L. Contovounesios, 2021/01/11
- Re: ai_flags in calls to getaddrinfo, broader call for reproducibility check, Robert Pluim, 2021/01/11
- Re: ai_flags in calls to getaddrinfo, broader call for reproducibility check, Andy Moreton, 2021/01/11
- Re: ai_flags in calls to getaddrinfo, broader call for reproducibility check, Robert Pluim, 2021/01/12
- Re: ai_flags in calls to getaddrinfo, broader call for reproducibility check, tomas, 2021/01/12