From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: ai_flags in calls to getaddrinfo, broader call for reproducibility check Date: Mon, 11 Jan 2021 14:28:28 -0500 Message-ID: References: <83sg7mggls.fsf@gnu.org> <83czymc8nq.fsf@gnu.org> <74b7a0a9-0eb3-7944-19d2-f72424ee72d7@dasyatidae.com> <83eeirfqbo.fsf@gnu.org> <87o8hvscfi.fsf@gmail.com> <8335z7fmnz.fsf@gnu.org> <87ft374axc.fsf@gmail.com> <5cb6a0ac-9fe9-bfc2-5642-3423bd043238@dasyatidae.com> <8735z748p1.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37710"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eli Zaretskii , Robin Tarsiger , 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 20:54:05 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 1kz3GO-0009g6-GM for ged-emacs-devel@m.gmane-mx.org; Mon, 11 Jan 2021 20:54:04 +0100 Original-Received: from localhost ([::1]:44368 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kz3GN-0003Aj-HP for ged-emacs-devel@m.gmane-mx.org; Mon, 11 Jan 2021 14:54:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52846) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kz2rm-00065T-H7 for emacs-devel@gnu.org; Mon, 11 Jan 2021 14:28:39 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:29314) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kz2rg-0001th-En; Mon, 11 Jan 2021 14:28:37 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id C3871440BDA; Mon, 11 Jan 2021 14:28:30 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 8ED65440B18; Mon, 11 Jan 2021 14:28:29 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1610393309; bh=kSEYWH3F+Zqpa8iQ9nsVUGPyXQhnc/gZa84RX+RPap0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=lw8IpOelWoCKfr5pGX0LjLL7/7BF1D1mztl/c7pV5+hu+d2NOA90Q51DY0uR5A/JM gokxbUfeq+V7Bsq4TvnYRWHiNuPj2ITNwqgmfGNV4qE6mP3ycHjWxaMPHw4fACTxXL yB1zHl/KElgf04WTys5AE6OHmaYz1Aq1cF69N3QEv0MKLq25v6WvhU8YnjW49op0su KneE2nnBFd9UQQAPv4QuovBL5rx3uBA7Z1/cEdEkAuQGyuYnYLnJi01zq4VavVj86q 2YP42qKQ50lnlc5Ve0YpQkN/uTmtz4wGb76Fp8qTk9xueT465pNKJUo2L053CZeKgp 35mofZTIrPY8Q== Original-Received: from alfajor (unknown [45.72.224.181]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 53BF5120281; Mon, 11 Jan 2021 14:28:29 -0500 (EST) In-Reply-To: <8735z748p1.fsf@gmail.com> (Robert Pluim's message of "Mon, 11 Jan 2021 19:42:02 +0100") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:262930 Archived-At: > Because the select implementation on windows does a one-byte readahead > to see if data is available, which breaks UDP. I had a patch at one > point to fix this, but I remember Eli not being very enthusiastic > about it. I=CA=BCve attached what I think is the right version below (my > windows box died, so I can't be sure) How 'bout installing it but make it conditional on some config var? And maybe set that config var if/when a UDP socket is requested? Stefan