[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 4/4] maint.mk: exempt trailing blanks found in "binary" files
From: |
Jim Meyering |
Subject: |
[PATCH 4/4] maint.mk: exempt trailing blanks found in "binary" files |
Date: |
Tue, 18 Sep 2012 09:00:12 +0200 |
From: Jim Meyering <address@hidden>
* top/maint.mk (sc_trailing_blank): Filter out any matches found in
"binary" files, as reported by grep. Suggested by Richard W.M. Jones
in http://thread.gmane.org/gmane.comp.emulators.guestfs/1902
---
ChangeLog | 7 +++++++
top/maint.mk | 1 +
2 files changed, 8 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index eeea310..38ad080 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-09-18 Jim Meyering <address@hidden>
+
+ maint.mk: exempt trailing blanks found in "binary" files
+ * top/maint.mk (sc_trailing_blank): Filter out any matches found in
+ "binary" files, as reported by grep. Suggested by Richard W.M. Jones
+ in http://thread.gmane.org/gmane.comp.emulators.guestfs/1902
+
2012-09-17 Jim Meyering <address@hidden>
maint.mk: sc_prohibit_path_max_allocation: don't FP for UNIX_PATH_MAX
diff --git a/top/maint.mk b/top/maint.mk
index f77d0c1..ccf09a2 100644
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -724,6 +724,7 @@ sc_require_test_exit_idiom:
sc_trailing_blank:
@prohibit='[ ]$$' \
halt='found trailing blank(s)' \
+ exclude='^Binary file .* matches$$' \
$(_sc_search_regexp)
# Match lines like the following, but where there is only one space
--
1.7.12.503.g5976753