[Spice-devel] [PATCH 08/10] syntax-check: Clean-up exception rules

Christophe Fergeau cfergeau at redhat.com
Wed Oct 7 09:45:15 PDT 2015


Some files no longer exists, some exceptions are no longer needed, ...
---
 cfg.mk | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

diff --git a/cfg.mk b/cfg.mk
index 7cf1d58..00ef691 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -130,22 +130,15 @@ sc_check_author_list:
 
 
 # XXX some of these tools/ programs probably ought to bindtextdomain ?
-exclude_file_name_regexp--sc_bindtextdomain = ^server/tests|common/region.c|common/win/my_getopt-1.5/main.c|tools/(bitmap_to_c.c|icon_to_c.c|reds_stat.c)
+exclude_file_name_regexp--sc_bindtextdomain = ^server/tests|common/region.c|tools/(bitmap_to_c.c|icon_to_c.c|reds_stat.c)
 
 exclude_file_name_regexp--sc_preprocessor_indentation = ^*/*.[ch]
 
-exclude_file_name_regexp--sc_const_long_option = ^common/win/my_getopt-1.5/getopt.(3|txt)
+exclude_file_name_regexp--sc_prohibit_empty_lines_at_EOF = docs/.*.odt|server/tests/base_test.ppm
 
-exclude_file_name_regexp--sc_prohibit_empty_lines_at_EOF = ^common/win/my_getopt-1.5/getopt.(3|txt)|client/windows/(spice.ico|sticky_alt.bmp)|client/tests/controller_test/build|docs/.*.odt|server/tests/base_test.ppm
-
-# XXX this should be removed & all cases fixde
+# XXX this should be removed & all cases fixed
 exclude_file_name_regexp--sc_prohibit_have_config_h = ^*/.*(c|cpp|h)
 
-exclude_file_name_regexp--sc_require_config_h = ^client/gui/.*\.(ttf|font)\.c|client/gui/taharez.*\.c|client/x11/images/(alt_image|red_icon)\.c|common/win/my_getopt-1.5
-
-exclude_file_name_regexp--sc_require_config_h_first = ^client/gui/.*\.(ttf|font)\.c|client/gui/taharez.*\.c|client/x11/images/(alt_image|red_icon)\.c|common/win/my_getopt-1.5
-
-exclude_file_name_regexp--sc_trailing_blank = ^common/win/my_getopt-1.5/getopt.3|docs/.*.odt
 
 exclude_file_name_regexp--sc_unmarked_diagnostics = ^.*\.(c|py|h)
 
-- 
2.5.0



More information about the Spice-devel mailing list