From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from zero.zsh.org (zero.zsh.org [IPv6:2a02:898:31:0:48:4558:7a:7368]) by inbox.vuxu.org (Postfix) with ESMTP id 4606C217D7 for ; Sat, 23 Mar 2024 22:27:05 +0100 (CET) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1711229225; b=QOTO9a2gH09MaE7C0e4SnSdD7y6RY2El0fzX0Js4PiV+BlCoTS8lTGYMiAElfYL7jygUPfG6FA Meq5QewPE9fRrDqJJgQJH0elhNendKeYFEV9Pp5qgzL78mOAzsjRaGO8ux0x9OVpDknjcb65mm h4q6xszpSTD90YOXp6J1B4oGCUlP6fxUrWLwqNqhbcW3oPOo9Im5sOUdNMQwu0PTT5PixJ9zEO hp9XvL1I5qxsb4wugZQXXCHAkK060UpXR6h9Rf703MIKkD4did7HEQNBNpoMolzjH7OzQtB/jE lS1poG6JnA1Pw89xpytoaWoHMAWtKjCDSIW58N2dcJKCPQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (iris.zentaur.org) smtp.remote-ip=198.58.127.206; dkim=pass header.d=zentaur.org header.s=dkim20200120 header.a=rsa-sha256; dmarc=pass header.from=zentaur.org; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1711229225; bh=wwijUdsRh0G/GG20z0xaWPwbdBtj7xC57oAf1WrIxWc=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:To:Subject:MIME-Version:Date:Message-ID:DKIM-Signature: DKIM-Signature; b=hCKAg0XD6YG6xm1ukIrCR01XQguXO24M6k4T37SY9QMiP3n+/8TsN6H2fGV7grb2YRaNfFhyeH LzNb86i3BmB2bBYw97E4AZzON43IrYoqpwobV4gF+VUhbUvKFuYgzdk/EgmSZ5H9JXgmylq/6D 5jJBhluz43PFof3V7bw+pM2tGsVIPg+r8n7fIuoi5BTDbyAKysmk3qTxjgeqP2WNuEPKVyZSOu ItDnQMV6HBI1Fm+0vgrlTjeUU471nIygduoQhbPl4731elr/Gtn+POrk0/Dahem8NDEkeDCdNI StWFJ6VSQvkPwaC4yZxbpRz0PILeOhI6GR0SM83U63vy3Q==; 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:In-Reply-To:From:References:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From :Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=KjP198vAkm6wlDEdEzmIU9YwWT8B9hBvYbH6V+jAKg0=; b=iVdbLESaRCasJNsHDjz++FEXsb Odn/iVLjepNWJQjq/LGYiIRSbmnBGI5+YAFtXzv9nqD6/aVfqODmbN2hj/20qVSEPvFW+gWwtd/E3 KjTMxFppJraSw6t2J62YGr0avmGPxLPsqS837Js8YSFDmPN+XtgHDlIsWTU+X7CIVKGMOAzN14ozT 3721gr/s6I7vVUPn3anVBsqGOGTadW6ucwFmXYHzvVFl+7sJ8kkOYqmZhj3E7PFsf/NQKq+qlvZZR aTYYpIAuGvFW1oUoqmUromMFHs5VOEug2XyvaXN97DqUZSJAkHJy1e+YRUzAiJos4abXPbpADGoP1 N/r9md7w==; Received: by zero.zsh.org with local id 1ro8tN-000LGS-L8; Sat, 23 Mar 2024 21:27:05 +0000 Authentication-Results: zsh.org; iprev=pass (iris.zentaur.org) smtp.remote-ip=198.58.127.206; dkim=pass header.d=zentaur.org header.s=dkim20200120 header.a=rsa-sha256; dmarc=pass header.from=zentaur.org; arc=none Received: from iris.zentaur.org ([198.58.127.206]:57308) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1ro8sR-000KuR-L4; Sat, 23 Mar 2024 21:26:08 +0000 Received: from iris.zentaur.org (localhost [127.0.0.1]) by iris.zentaur.org (Postfix) with ESMTP id 4V2C1B51l2z3wZv for ; Sat, 23 Mar 2024 21:26:06 +0000 (UTC) Authentication-Results: iris.zentaur.org (amavis); dkim=pass (2048-bit key) reason="pass (just generated, assumed good)" header.d=zentaur.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zentaur.org; h= content-transfer-encoding:content-type:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version :date:message-id; s=dkim20200120; t=1711229166; x=1711232767; bh=wwijUdsRh0G/GG20z0xaWPwbdBtj7xC57oAf1WrIxWc=; b=SQvw57oMuek9 N5gtJ7smukoJg+UMtMngDs767y3dQWlKY3GBDLdZB4BvcvaJCTZzRS6NwJk8WJj7 mKMMoVisL+L7Vn+O67b1sttz/jWSa1d+2sQdHt0p/SKYOHKkT0AXNe2r7AphrQW9 8keIxu5hInVXTDTBB4q7+6CTlFsEOsP0bD3hkmIF2iOd6HG/DLy8gPRO9FkuI11U MMVMWP47q5Od6NuLBQ9Mi9+uImsRuQ1Y5Q75AvkguqNgfwtRTV+dvlGKFcKIXiv5 efO5Gru1pC8PzhHXKOS4rl9m9p5hY/zZVbX597P4gvzQCqGToYpoUlg9bguB8UzN 2LrKsNfA6g== X-Virus-Scanned: amavis at iris.zentaur.org Received: from iris.zentaur.org ([127.0.0.1]) by iris.zentaur.org (iris.zentaur.org [127.0.0.1]) (amavis, port 10026) with ESMTP id S1aTQbmVY_vm for ; Sat, 23 Mar 2024 21:26:06 +0000 (UTC) Received: from [IPV6:2605:a601:a57c:ee00::4000] (unknown [IPv6:2605:a601:a57c:ee00::4000]) by iris.zentaur.org (Postfix) with ESMTPSA id 4V2C1B2m45z3wZt for ; Sat, 23 Mar 2024 21:26:06 +0000 (UTC) Message-ID: <50d25960-4789-42af-8105-51a364325903@zentaur.org> Date: Sat, 23 Mar 2024 16:26:06 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: ANSI C standard of zsh Content-Language: en-US To: zsh-workers@zsh.org References: <4da53188-feb2-42d2-9294-899715991be1@zentaur.org> <64761-1710348596.938223@kqf9.hufK.7DeO> From: Clinton Bunch In-Reply-To: <64761-1710348596.938223@kqf9.hufK.7DeO> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Seq: 52800 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 3/13/2024 11:49, Oliver Kiddle wrote: > Bart Schaefer wrote: >> On Tue, Mar 12, 2024 at 2:44=E2=80=AFPM Clinton Bunch wrote: >>> I propose that we update the development guide to remove the bit ab= out the 1989 standard (much less K&R compatibility) since it is no longer= true, and I personally question if it even makes sense as a goal 30+ yea= rs in to development. > No objections from me. Replacement wording would be welcome. We're usin= g > string pasting (##) in quite a few places despite that being "not > available". > Here is my first cut at replacement wording for the first two paragraphs=20 of the C coding style section: The primary language is standard C and modern versions of Zsh assume at=20 least the 1999 standard is available.=C2=A0 While much of the code is wri= tten=20 to be compatible with older C standards, it has been decided that=20 maintaining compatibility with those standards has become too limiting=20 and is not necessary for even legacy (though not necessarily vintage)=20 systems. If you wish to use features not present in the ANSI C 99 standard, there=20 are preprocessor macros to provide safe access to some of these.=C2=A0 Al= ways=20 use the macros if you want to use these facilities.