From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 29820 invoked from network); 14 Dec 2022 17:07:32 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 14 Dec 2022 17:07:32 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1671037652; b=m61F3NH2m3tNz0e+ihR7y8hkeGv7ff4gyj5LBc56QkxMc4r1E1Bwteh3K0tSF0D+F57Y/tupYX XD+cTRORpnQ9MIwvKe3iLr2FsgG6GcY87vMUwfDuF6fAzKDp6rKY0L4n2A1t8a15+Un41lYGbd 8lgsiEA45J8SqgzrzgJWRTJtWGpuPoR4rMdCT5c/vMJdwQyfLk+/Pbkc4gqPR+aQnSnTL6grky e2688vh2zU1PQ28rKEHx18grMq/QSl4VKE2sTMhgPK5H7s4yunqCvSpuIZ+xxN5RUEBGBhdK9U pmUEO6k8rAgqk6z15RHdR1MPMEvs+5YOwk7oeRC89R2x6A==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (smtpq1.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.96; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1671037652; bh=IYZN2Mf0yuAkwZgbYcg5KuK5GAGTi9xxQ9IvokStaRU=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject: References:In-Reply-To:Message-ID:To:From:Date:DKIM-Signature: DKIM-Signature; b=VcBeGik1Vk3b359xkusAw5m3aAS2l3aBjYw06OOgSBWpHj1kZ1c+s+SQITsBWnAevosVrFDfF/ CERCSex/ZqeN0PTbPrrwNmE4F48Shs33+jA26hr4+FkEiitXV6loXtI2Yi3JSg9FDqO+XnCDhs LY9lK/mhChEDMZ3lViWJ5X756+CLruBXhhhweDLgZtsi0GVNJumfK0wbxQODRqY5bEFm9SppKE JYSWNaRz05kcbiC97rBI//AuzMiLGxkf0R/33VKrJ2FHUt3f4UGyX9GBAMedI5Vp7RVmBk6RaV XB8ROcDjDoENJhkGBhUq7zFVEXRRRpXD6jE7Y4vGGPAZQA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Subject:References:In-Reply-To:Message-ID:To:From: Date:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=nAz5jJQdFupbxTCt8t6A77RojDldnL2qR3Vujg1/1+o=; b=P8YQrha4Vb6yivUxxesNRiKbIh yH0aUnwRhBFdZK+YxFSRhHzXsOKTNJ+padyAdK97m/00Sqltoo5MkmUFnKuOO2UTUscxS4Al0ecl9 KYslCkb3DRxxnL4bihfX54CNs1yr3Ds98aUirJYdjIxW+f67K8dkSpC0/j2LgGCd1zHySkGUBNDTb GdOukLwH1csmr+jjcup621ZwKv+bXPrxZItEFFUYGZu4foiXPfURscp6VxF9rdE3bOYYMrCNqp54S aElmfcpf/FnmSM+pZikA0un3rvc9pwHERW48gnZSbLa+6nrsntKZWWbnGZQsMkbxoPia6KamkguvO /wV/YAPA==; Received: by zero.zsh.org with local id 1p5VEB-000FOX-Np; Wed, 14 Dec 2022 17:07:31 +0000 Authentication-Results: zsh.org; iprev=pass (smtpq1.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.96; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none Received: from smtpq1.tb.ukmail.iss.as9143.net ([212.54.57.96]:49636) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1p5VDy-000F60-Hw; Wed, 14 Dec 2022 17:07:19 +0000 Received: from [212.54.57.82] (helo=smtp3.tb.ukmail.iss.as9143.net) by smtpq1.tb.ukmail.iss.as9143.net with esmtp (Exim 4.90_1) (envelope-from ) id 1p5VDy-0003lM-6y for zsh-workers@zsh.org; Wed, 14 Dec 2022 18:07:18 +0100 Received: from oxbe23.tb.ukmail.iss.as9143.net ([172.25.160.154]) by smtp3.tb.ukmail.iss.as9143.net with ESMTP id 5VDxpkE7xYBhJ5VDypmtaR; Wed, 14 Dec 2022 18:07:18 +0100 X-Env-Mailfrom: p.w.stephenson@ntlworld.com X-Env-Rcptto: zsh-workers@zsh.org X-SourceIP: 172.25.160.154 X-CNFS-Analysis: v=2.4 cv=Vd8xfnl9 c=1 sm=1 tr=0 ts=639a02c6 cx=a_exe a=0gQdd85zlVecdCXELxTKIw==:117 a=KHkPskhuMikA:10 a=IkcTkHD0fZMA:10 a=4R3cdCwsknMA:10 a=HYshxDoSAAAA:8 a=Xi_MnfQYUI4KYJhQPg4A:9 a=QEXdDO2ut3YA:10 a=na7qQM7zoEAPfvOk0o6d:22 X-Authenticated-Sender: p.w.stephenson@ntlworld.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntlworld.com; s=meg.feb2017; t=1671037638; bh=IYZN2Mf0yuAkwZgbYcg5KuK5GAGTi9xxQ9IvokStaRU=; h=Date:From:To:In-Reply-To:References:Subject; b=M5YT2T4NdEwyi1t5kbpJlnQOEaAx5YmsbePpHUqdlwnGPCDoxLPqOzzhUmihzOpuQ UI675Z9weTv6zILBe1szNCLG9QZBq7k+tUOlyD1QfOLtVOrINDLmtBfaEShodaQdBs 6wDcDfpafqKy//d5ilIpO/oMvXwpZUkfQk0T/iRpxNQAgi1PD92sZjNch+LOr8h+M4 SrIomLVHizUQINCH8TVxNzQuUfAgKEIhKtYJH21kHBjWf/E3T638R/a5YsrYNClMTs mHuCyXmTCZ3RrhtQeiZ4A2onqfj8DdSf565lNtlh2FA39FcU+8jmM9o9vG/t5rzDns Y4HIcphrxc0Fw== Date: Wed, 14 Dec 2022 17:07:17 +0000 (GMT) From: Peter Stephenson To: Zsh workers Message-ID: <1313845986.7216898.1671037637925@mail.virginmedia.com> In-Reply-To: <36532-1671036747.322209@Psau.rCcr.8m-L> References: <36532-1671036747.322209@Psau.rCcr.8m-L> Subject: Re: PATCH: remove ancient STOUC() workaround MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal X-Mailer: Open-Xchange Mailer X-Originating-IP: 165.225.17.21 X-Originating-Client: open-xchange-appsuite X-CMAE-Envelope: MS4xfMZ+EZcOi0ffqp/NVx3XiuuXTAILdBswfJlpaJSxRhnfnl4LUyodJA/kWmJ1svrHgeEqhC5WkBtUn+3jyB0rTYI8LNzbw1Jz6N8lsfQIIwTOI5x0fi6w xU2A6Ou3j32QPmJV0mIZlW6zyLBzSRqSi0Q3jgaY600K1ZSG7QTeAcKKnoS9a9CqjBIRGRpTxU/+egurNT9JsvWNvCYOmt+UTPvYRVp5Ouu0VW19tywPARbr X-Seq: 51213 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: > On 14/12/2022 16:52 Oliver Kiddle wrote: > The STOUC() macro is a wrapper for (unsigned char) casts that works > around a compiler bug by doing ((unsigned char)(unsigned short)(X)) if > autoconf detects the bug. This has been there since before the earliest > (1995) list archives. I've never come across the need for this in any > other C codebase. Surely whatever compiler needed this has long since > ceased to be able to compile zsh for a myriad other reasons and been > confined to a museum. A web search for the autoconf output of "signed to > unsigned casting is broken..." finds matches with the word "no" but none > with "yes". Or is there some further need for this that I'm missing? I would imagine you're right and it's well past its shelf life. The only way to know with this ancient stuff is to suck it and see. pws