summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-09-17 10:06:28 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-09-19 14:12:22 +0100
commit76010c26efe9fd40c5f7011f49eb8ac463a87234 (patch)
treef20bef636eff9ab8962a19d4f524485adb5b8f27
parent41e1d38a24aa5398b978e727e3a619d3e82aaffb (diff)
downloadlibguestfs-76010c26efe9fd40c5f7011f49eb8ac463a87234.tar.gz
libguestfs-76010c26efe9fd40c5f7011f49eb8ac463a87234.tar.xz
libguestfs-76010c26efe9fd40c5f7011f49eb8ac463a87234.zip
syntax: Ignore documentation when testing for magic number exit() calls (thanks Jim Meyering).
(cherry picked from commit 552576c7f9ccb1862bcfc9fbd5c301d775aaf90c)
-rw-r--r--cfg.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/cfg.mk b/cfg.mk
index b9914597..cedfac78 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -29,6 +29,7 @@ exclude_file_name_regexp--sc_bindtextdomain = ^(daemon|erlang|examples|tests)/
exclude_file_name_regexp--sc_error_message_period = ^php/
exclude_file_name_regexp--sc_prohibit_always-defined_macros = ^examples/
exclude_file_name_regexp--sc_prohibit_doubled_word = ^po/
+exclude_file_name_regexp--sc_prohibit_magic_number_exit = ^(po|po-docs)/|\.pod$
# Tests not to run as part of "make distcheck".
local-checks-to-skip = \