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: 1769191
Return-Path:
X-Original-To: incoming@patchwork.ozlabs.org
Delivered-To: patchwork-incoming@legolas.ozlabs.org
Authentication-Results: legolas.ozlabs.org;
spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org
(client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org;
envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org;
receiver=)
Received: from sourceware.org (server2.sourceware.org
[IPv6:2620:52:3:1:0:246e:9693:128c])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384)
(No client certificate requested)
by legolas.ozlabs.org (Postfix) with ESMTPS id 4PyqsH01zGz1yXv
for ; Sat, 15 Apr 2023 07:51:29 +1000 (AEST)
Received: from server2.sourceware.org (localhost [IPv6:::1])
by sourceware.org (Postfix) with ESMTP id 6276D3857719
for ; Fri, 14 Apr 2023 21:51:27 +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+incoming=patchwork.ozlabs.org@gcc.gnu.org
Sender: "Gcc-patches"
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" |