maint.mk: exempt trailing blanks found in "binary" files
authorJim Meyering <meyering@redhat.com>
Tue, 18 Sep 2012 06:49:59 +0000 (08:49 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 18 Sep 2012 06:51:55 +0000 (08:51 +0200)
* 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
top/maint.mk

index eeea310..38ad080 100644 (file)
--- 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
index f77d0c1..ccf09a2 100644 (file)
@@ -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