Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oKWJH-0004ox-JQ for pgsql-hackers@arkaria.postgresql.org; Sun, 07 Aug 2022 02:46:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oKWJF-00062S-1r for pgsql-hackers@arkaria.postgresql.org; Sun, 07 Aug 2022 02:46:33 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oKWJE-00062I-KE for pgsql-hackers@lists.postgresql.org; Sun, 07 Aug 2022 02:46:32 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oKWJ7-0001Yk-Nl for pgsql-hackers@postgresql.org; Sun, 07 Aug 2022 02:46:31 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 033925C00A3; Sat, 6 Aug 2022 22:46:25 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sat, 06 Aug 2022 22:46:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1659840384; x=1659926784; bh=KahM5ht15W QRcB8G+Yj1GwB6kZMgyAUvrw1K+GqFIqY=; b=wnUcs1EOAnzLADrcLLlf/C1raM vCsOVK0DO/QXexIpZjR5G9//dLqck1IWe0O3TKK8wMsTKQuLFqc5weM9xHFcjSgr z7BgfyIoY7ZLkOdTXfx7QYPYB2VasA6rqyCJI2cR+3r4fbO71m6U21tKrtZEJoRH fi12yJzeN/soMtcH6bF3CgI8qyw9D4U8RPf7PuyRxZ/wieEYyjcbP+qBKl0mEeoH UdGYhnF5HCs5cY9cTnsJSAmLM/YPt/zpNC+TnF12r67ybcwLF3VWAecUByD3RThw GKWM1jBPnnaSbuTlg/kxn2EP/ZvVR6f8oP8uIkaJu6baFC/0MHF3R1hVInQw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1659840384; x=1659926784; bh=KahM5ht15WQRcB8G+Yj1GwB6kZMg yAUvrw1K+GqFIqY=; b=u0XxVvxWzgGd13CqyyHWqn9AVMzaXmsUNqnNWhF5RjGU k3IO4M/8MdzCF2wEdYgkFVGA3U+J+orqnMSY51sljAUAmpzlbEZlOnvgTcg1Ak6v patfi0Nji5a6t82p+VQCnGnXdLS4/wWtTbLpLWFXyk0yKOM2jDVALpz7QoP62MJS iR+m5MjZqzSTit+Y6JaQ+I/ZMGF2eAs3R4hqlf9AN9kBcoo4wVmcQns/B8SAqFJe CV06IWiofKRQNNL6ZSddSFiL/mowF9oB90ZBVG9p8sbvE1gJz3DNFNa3vsbUobCn Bull4oMphaVO40Vva9HydlBNLfBfjYmvW/jh83ChAQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdefgedgieegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesthdtredttddtvdenucfhrhhomheptehnughr vghsucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuggftrf grthhtvghrnhepvdfffeevhfetveffgeeiteefhfdtvdffjeevhfeuteegleduheetvedu ieettddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprghnughrvghssegrnhgrrhgriigvlhdruggv X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 6 Aug 2022 22:46:24 -0400 (EDT) Date: Sat, 6 Aug 2022 19:46:23 -0700 From: Andres Freund To: Thomas Munro Cc: Tom Lane , Andrew Dunstan , Robert Haas , pgsql-hackers Subject: Re: Cleaning up historical portability baggage Message-ID: <20220807024623.v62stodeyondbpvc@awork3.anarazel.de> References: <1249825.1658622186@sss.pgh.pa.us> <20220804013546.h65najrzig764jar@awork3.anarazel.de> <3295936.1659577924@sss.pgh.pa.us> <20220804023010.24snkyq3hser5pxq@awork3.anarazel.de> <20220805210823.u546w4p4wzfany7p@awork3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2022-08-07 11:47:31 +1200, Thomas Munro wrote: > So what about strtof? That's gotta be dead code too. I gather we > still need commit 72880ac1's HAVE_BUGGY_STRTOF. > From a cursory glance at MinGW's implementation, it still has the > complained-about behaviour, if I've understood the complaint, and if I'm > looking at the right C runtime[1]. Well, right now we don't refuse to build against the "wrong" runtimes, so it's hard to say whether you're looking at the right runtime. I don't think we need this if we're (as we should imo) only using the ucrt - that's microsoft's, which IIUC is ok? > -/* > - * strtof() is part of C99; this version is only for the benefit of obsolete > - * platforms. As such, it is known to return incorrect values for edge cases, > - * which have to be allowed for in variant files for regression test results > - * for any such platform. > - */ We can't remove the result files referenced here yet, due to the double rounding behaviour? Greetings, Andres Freund