[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: |
Eli Zaretskii |
Subject: |
Re: ai_flags in calls to getaddrinfo, broader call for reproducibility check |
Date: |
Tue, 12 Jan 2021 18:05:06 +0200 |
> 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.
- 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 <=
- 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, 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