From patchwork Fri Apr 14 21:51:12 2023
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Gerald Pfeifer
X-Patchwork-Id: 83575
Return-Path:
Delivered-To: ouuuleilei@gmail.com
Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp680623vqo;
Fri, 14 Apr 2023 14:51:46 -0700 (PDT)
X-Google-Smtp-Source:
AKy350Y+PW7gNi2Sk9DVfHw1lbwkGO4eKihRSasztU8isfVNQjvVMQSIYOEKTZTixdIZjXro8I7k
X-Received: by 2002:a50:ff02:0:b0:506:7cc8:7420 with SMTP id
a2-20020a50ff02000000b005067cc87420mr4712211edu.31.1681509106612;
Fri, 14 Apr 2023 14:51:46 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1681509106; cv=none;
d=google.com; s=arc-20160816;
b=PKzO4k9woGRYcwj1SQ2PFXPpWibNIgs0SuBiVdssaBH+NSY0FrJx9IO2Sy2/DlVza8
nDuhkvDd4/fbHqp+g+q3BYimeFW86s/vDEuP2/16apmmk0FnY9+RIH6K4QSjlb844DLU
FQomyYzWGaMFsHoiS6HomfaPYv3GzmD3pq4aP4fIJpUKljdsnWflVX8Z8TtMhD+Wyesd
GEAt9w1WzXlbRT6lotvWENhBl1OXRFgTLI/0gDwwSxQnpR+vldAX2GXZiBvUzUkDWaNZ
VYezHvAYKFgK3CxJys55+liySCVhSyF6T8fYJIEwKx8bmMuuMOzh17rpgOqxeRf4sHLg
nVbA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20160816;
h=sender:errors-to:list-subscribe:list-help:list-post:list-archive
:list-unsubscribe:list-id:precedence:message-id:mime-version:subject
:cc:to:from:date:dmarc-filter:delivered-to;
bh=paIKQKg40wDWyXp373b65wwLXtQAyIyrTmQHTnx2dc8=;
b=avfwmOxxnX/vtZFpWaS0aslXCA+cXoKb+tOFNYJsEZpTcI8ky/XVnAbDzmTsBza/IU
fB6m21GXfPQbgzxmQh1KXOpCy/+y7lHmmwakV3zTmvMGiHxBmpiga/PzPfqlOYdbgl4H
1Nt/RkVZUAds0joeGeUt7bXjlcIgBZGlHAXJUNWu6UrbOfpTCQ83PWihbvTaIlQrUTLl
Q4UTnxmH1tBhG0CGMTk3+ICMv736zrgVGk+oew+F+AljH9kYaBVEs6Wh1BfYLodssej4
PWUCSS107s36Ge8TUXD5BOok82PB/SDi5jGuTKJ2hfXV/8F6WQoi1k6w76aksxIg3795
3dUA==
ARC-Authentication-Results: i=1; mx.google.com;
spf=pass (google.com: domain of
gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as
permitted sender)
smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"
Received: from sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97])
by mx.google.com with ESMTPS id
fp1-20020a1709069e0100b0094a6a7a2cfdsi5688811ejc.132.2023.04.14.14.51.46
for
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 14 Apr 2023 14:51:46 -0700 (PDT)
Received-SPF: pass (google.com: domain of
gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as
permitted sender) client-ip=8.43.85.97;
Authentication-Results: mx.google.com;
spf=pass (google.com: domain of
gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as
permitted sender)
smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"
Received: from server2.sourceware.org (localhost [IPv6:::1])
by sourceware.org (Postfix) with ESMTP id 9B20F3858C39
for ; Fri, 14 Apr 2023 21:51:39 +0000 (GMT)
X-Original-To: gcc-patches@gcc.gnu.org
Delivered-To: gcc-patches@gcc.gnu.org
Received: from hamza.pair.com (hamza.pair.com [209.68.5.143])
by sourceware.org (Postfix) with ESMTPS id 9B6D83858C5E
for ; Fri, 14 Apr 2023 21:51:15 +0000 (GMT)
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9B6D83858C5E
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=pfeifer.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=pfeifer.com
Received: from hamza.pair.com (localhost [127.0.0.1])
by hamza.pair.com (Postfix) with ESMTP id 2011733E1A;
Fri, 14 Apr 2023 17:51:15 -0400 (EDT)
Received: from naga.localdomain (62-47-129-209.adsl.highway.telekom.at
[62.47.129.209])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest
SHA256)
(No client certificate requested)
by hamza.pair.com (Postfix) with ESMTPSA id 7235133E60;
Fri, 14 Apr 2023 17:51:14 -0400 (EDT)
Date: Fri, 14 Apr 2023 23:51:12 +0200 (CEST)
From: Gerald Pfeifer
To: gcc-patches@gcc.gnu.org
cc: Sandra Loosemore ,
"Joseph S. Myers"
Subject: [pushed] wwwdocs: codingconventions: Recommend "file name" over
"filename"
MIME-Version: 1.0
X-Scanned-By: mailmunge 3.11 on 209.68.5.143
Message-Id: <20230414215115.2011733E1A@hamza.pair.com>
X-Spam-Status: No, score=-9.4 required=5.0 tests=BAYES_00, GIT_PATCH_0,
KAM_DMARC_STATUS, RCVD_IN_BARRACUDACENTRAL, SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: gcc-patches@gcc.gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Gcc-patches mailing list
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org
Sender: "Gcc-patches"
X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?=
X-GMAIL-THRID: =?utf-8?q?1763190093046677874?=
X-GMAIL-MSGID: =?utf-8?q?1763190093046677874?=
This is based on an exchange with Sandra and Joseph back in, umm,
April 2018.
Pushed for now.
Gerald
---
This aligns with the C and C++ standards as well as the GNU Coding
Standards, though POSIX uses "filename" as a component of "pathname".
---
htdocs/codingconventions.html | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/htdocs/codingconventions.html b/htdocs/codingconventions.html
index 8b3cb8bb..9b6d243d 100644
--- a/htdocs/codingconventions.html
+++ b/htdocs/codingconventions.html
@@ -469,6 +469,11 @@ and code. The following table lists some simple cases:
"run time" or "runtime" |
|
+
+ file name |
+ filename |
+ |
+
"floating-point" (adjective) |
"floating point" |