changeset 17090:4444e06d3a94

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
author Jim Meyering <meyering@redhat.com>
date Tue, 18 Sep 2012 08:49:59 +0200
parents 60234c636185
children ecace80c3b49
files ChangeLog top/maint.mk
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-09-18  Jim Meyering  <meyering@redhat.com>
+
+	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  <meyering@redhat.com>
 
 	maint.mk: sc_prohibit_path_max_allocation: don't FP for UNIX_PATH_MAX
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -724,6 +724,7 @@
 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