]> Savannah Git Hosting - gnulib.git/commitdiff
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 eeea310d6f8db8e36036ac9895944ea0a8c408fe..38ad0800b333decccbb356f697274ee8f95bd125 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 f77d0c1e2709d7d8f91bddae2bd7fae9c03fbb7a..ccf09a2cdb54332c40363bb838c064c4ec07b10e 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