From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: ai_flags in calls to getaddrinfo, broader call for reproducibility check Date: Mon, 11 Jan 2021 18:44:48 +0200 Message-ID: <8335z7fmnz.fsf@gnu.org> References: <83sg7mggls.fsf@gnu.org> <83czymc8nq.fsf@gnu.org> <74b7a0a9-0eb3-7944-19d2-f72424ee72d7@dasyatidae.com> <83eeirfqbo.fsf@gnu.org> <87o8hvscfi.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36172"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jan 11 17:45:49 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kz0KD-0009Iw-T2 for ged-emacs-devel@m.gmane-mx.org; Mon, 11 Jan 2021 17:45:49 +0100 Original-Received: from localhost ([::1]:41538 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kz0KC-0003pi-VA for ged-emacs-devel@m.gmane-mx.org; Mon, 11 Jan 2021 11:45:48 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42994) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kz0J7-0003JK-JL for emacs-devel@gnu.org; Mon, 11 Jan 2021 11:44:41 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39842) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kz0J7-0001hc-9x; Mon, 11 Jan 2021 11:44:41 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3187 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kz0J5-00043N-Ui; Mon, 11 Jan 2021 11:44:40 -0500 In-Reply-To: <87o8hvscfi.fsf@gmail.com> (message from Robert Pluim on Mon, 11 Jan 2021 16:47:29 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:262920 Archived-At: > From: Robert Pluim > Cc: Robin Tarsiger , emacs-devel@gnu.org > Date: Mon, 11 Jan 2021 16:47:29 +0100 > > >> Your ipconfig result showed no "real" IPv6 connectivity > > > > How did you see this? Would it be possible to deduce that from the > > output of, say, network-interface-list? > > > > You only have fe80 and fec0 addresses listed, which are link-local and > site-local prefixes (and the latter has been deprecated so long itʼs > old enough to drink beer in Belgium) > > The only assigned globally routable IPv6 prefix is currently 2000::/3, > so we could check for that via network-interface-list. Is it possible to check this via network-interface-list, and avoid the test with IPv6 if that is bound to fail? > The results can be trusted. However, the assumption of the tests is > that DNS lookups on AAAA records will work, and return results for > google.com, which is not the case for you. If you prefer we can change > the tests to check for "no error" rather than 'returns a result' (is > there an ERT 'should-not-error' clause)? Yes, that'd be good as well. In short, anything that will avid false negatives in this test, especially since the process.c area has some serious development lately. Thanks.