From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by sourceware.org (Postfix) with ESMTPS id 17886385455A for ; Sat, 3 Dec 2022 21:14:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 17886385455A Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pj1-x1035.google.com with SMTP id 3-20020a17090a098300b00219041dcbe9so8055655pjo.3 for ; Sat, 03 Dec 2022 13:14:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=btRA/RaY9Zsmus9bfZzxHZuqLpay8C9H5t97LkqyHUU=; b=jrF9Goz8bbs9aRctMvpMx+zpHw1NXFS/tFg8Ej34pZm16MJq6WWtmHsfK5Ll1gPqBl S6uGRKpeVv73BBTqGTJOfl27uWrUq0FqJ4cMyc+4mUxWN6AwZEaiDNGQLRwfOiqB4j7P ga+DYJYRd+SkV6pNwUNmKDCxRbxbR+iwl4y1CzSFw65jlLis/ci/ZsK4XvRt5yvpb46F JIIDIpHfclWImpINxHJF57zRpQFtNaJ89+kKiaWByLMlnE/YRXtRbGHSlO/1+X5PNAXr mneHrEckSHoM+wj986MlGW9A/JkkUqqXB7ioxEo5zVsFsARPwQ36kBUfrPpH7eQWyKwY 3PXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=btRA/RaY9Zsmus9bfZzxHZuqLpay8C9H5t97LkqyHUU=; b=xHLV/BFaYwNNiVuxEmZ1WYabyNW0Pkdqs1DDH09f076/Hoe2eZHDO/sOL8GMhE27mQ ETuadgPun0zU6w8KGvRzhha94vjY1AQvEYH4Uyvc3dHD3NIwnrP9P+6nLHeVpEXIMkOn nATNj0i9PxnJ551f8ujMV4dJG2qs92jXs6CNnp7iWTosE6q2LbAdz+r4LhD0jdO30kti 607qJunSRPZNeZhn4m2/t2NbJzFIZsGMlwNiWAWPZHG3j7nmiB+c1NIBoFBaghxHt99S ScFxpzvkukXvnK3d5IWKDEHEK2MmmdTXHwUafH6D/lW3nd9QV9J4/ayMPF0PLqdffBHS 6YnQ== X-Gm-Message-State: ANoB5pm5KeuMuHVmtHKj69jJS2dqF1tSHvShGzlhiwqyEk5AsVQRUFXq +w5Gig7bbB0r/XXTy1AIv/1OwWsFRkjZUzcUoes= X-Google-Smtp-Source: AA0mqf6UVyRoxPBqJIsbCtCmctv419Rif+qZE4Ml5T/UOzQ6P5ak3WzCIfRTQI07lPHFr1zbNFfpeg+m7icJQwgKyLo= X-Received: by 2002:a17:902:8601:b0:189:7372:144c with SMTP id f1-20020a170902860100b001897372144cmr38978392plo.106.1670102048746; Sat, 03 Dec 2022 13:14:08 -0800 (PST) MIME-Version: 1.0 References: <20220826210710.35237-1-alx.manpages@gmail.com> <75c352c-e8b5-90d0-5fae-7b211c647934@codesourcery.com> <68746776-87bf-80f9-8e3e-7392e8cef1bb@gmail.com> <77c3557f-4a62-3ede-4df4-4b2b78e265b1@codesourcery.com> <5ae032cd-7a5f-f72b-29ae-6ad7f418da8@codesourcery.com> <7931044a-b707-5a70-86c2-be298c35aa57@gmail.com> <792055f0-114d-d4bc-52f0-c242d1767c0b@gmail.com> <31e1cf34-b42f-24c5-2109-f8214c28af3e@gmail.com> <494309ce-c8ec-5219-f83e-b8dda5b9bcd1@gmail.com> <8aeb958eee2e084ea34d027878428a59a77b196d.camel@tugraz.at> <457bac3a-b83a-fe97-c5e1-f4efd2376821@gmail.com> <9fc8d4ea-607b-8a3d-490d-4b5662b677bc@gmail.com> <4f36c878-e7a5-761d-8f27-6cc38f5b1c95@gmail.com> In-Reply-To: <4f36c878-e7a5-761d-8f27-6cc38f5b1c95@gmail.com> From: Andrew Pinski Date: Sat, 3 Dec 2022 13:13:56 -0800 Message-ID: Subject: Re: [PATCH] Various pages: SYNOPSIS: Use VLA syntax in function parameters To: Alejandro Colomar Cc: Martin Uecker , Jonathan Wakely , Joseph Myers , Michael Matz , Ingo Schwarze , JeanHeyd Meneide , linux-man@vger.kernel.org, gcc@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Sat, Dec 3, 2022 at 1:05 PM Alejandro Colomar via Gcc wrote: > > Hi! > > I'll probably have to release again before the Debian freeze of Bookworm. > That's something I didn't want to do, but there's some important bug that > affects downstream projects (translation pages), and I need to release. It's a > bit weird that the bug has been reported now, because it has always been there > (it's not a regression), but still, I want to address it before the next Debian. > > And I don't want to start with stable releases, so I won't be releasing > man-pages-6.01.1. That means that all changes that I have in the project that I > didn't plan to release until 2024 will be released in a few weeks, notably > including the VLA syntax. > > This means that while this syntax is still an invent, not something real that > can be used, I need to be careful about the future if I plan to make it public > so soon. > > Since we've seen that using a '.' prefix seems to be problematic because of > lookahead, and recently Michael Matz proposed using a different punctuator (he > proposed '@') for differentiating parameters from struct members, I think going > in that direction may be a good idea. > > How about '$'? $ is a GNU extension for identifiers already. See https://gcc.gnu.org/onlinedocs/gcc-12.2.0/gcc/Dollar-Signs.html#Dollar-Signs Thanks, Andrew > > It's been used for function parameters since... forever? in sh(1). And it's > being added to the source character set in C23, so it seems to be a good choice. > It should also be intuitive what it means. > > What do you think about it? I'm not asking for your opinion about adding it to > GCC, but rather for replacing the current '.' in the man-pages before I release > later this month. Do you think I should apply that change? > > Cheers, > > Alex > > > -- >