Discussion:
[PATCH] maint.mk: exempt "/proc/filesystems" from "file system" syntax check
(too old to reply)
Jim Meyering
2018-02-04 01:00:53 UTC
Permalink
Raw Message
FYI, I noticed a new syntax-check error in sed, and rather
than adding an exclusion in its cfg.mk file, I've fixed it at
the source with this (just pushed):

Date: Sat, 3 Feb 2018 16:57:36 -0800
Subject: [PATCH] maint.mk: exempt "/proc/filesystems" from "file system"
syntax check

* top/maint.mk (sc_file_system): Don't complain about
"/proc/filesystems".
---
ChangeLog | 6 ++++++
top/maint.mk | 1 +
2 files changed, 7 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 56b7de8f9..340dc226c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2018-02-03 Jim Meyering <***@fb.com>
+
+ maint.mk: exempt "/proc/filesystems" from "file system" syntax check
+ * top/maint.mk (sc_file_system): Don't complain about
+ "/proc/filesystems".
+
2018-02-03 Bruno Haible <***@clisp.org>

stdlib: Fix compilation error on OpenIndiana.
diff --git a/top/maint.mk b/top/maint.mk
index be86fb5d5..508c2f7c3 100644
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -421,6 +421,7 @@ sc_error_message_period:

sc_file_system:
@prohibit=file''system \
+ exclude='/proc/filesystems' \
ignore_case=1 \
halt='found use of "file''system"; spell it "file system"' \
$(_sc_search_regexp)
--
2.15.1.433.g936d1b989
Loading...