diff options
author | Richard Jones <rjones@redhat.com> | 2010-09-10 22:51:39 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2010-10-23 15:10:48 +0100 |
commit | ecbc15cc63a82f802ecfb6f06a9dd2598298a1b7 (patch) | |
tree | 9b86ec8f0ee3ab25adef67758045d62d73da633d | |
parent | ed87e28af0e4099afd11b9543ab29d7b95b0b9e8 (diff) | |
download | libguestfs-ecbc15cc63a82f802ecfb6f06a9dd2598298a1b7.tar.gz libguestfs-ecbc15cc63a82f802ecfb6f06a9dd2598298a1b7.tar.xz libguestfs-ecbc15cc63a82f802ecfb6f06a9dd2598298a1b7.zip |
syntax: Replace _prohibit_regexp with _sc_search_regexp.
(cherry picked from commit 3d994f3d8e12356223d37c1b45ebe2eb39ef28a6)
-rw-r--r-- | cfg.mk | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -100,16 +100,16 @@ sc_avoid_ctype_macros: 1>&2; exit 1; } || : sc_prohibit_virBufferAdd_with_string_literal: - @re='\<virBufferAdd *\([^,]+, *"[^"]' \ - msg='use virBufferAddLit, not virBufferAdd, with a string literal' \ - $(_prohibit_regexp) + @prohibit='\<virBufferAdd *\([^,]+, *"[^"]' \ + halt='use virBufferAddLit, not virBufferAdd, with a string literal' \ + $(_sc_search_regexp) # Not only do they fail to deal well with ipv6, but the gethostby* # functions are also not thread-safe. sc_prohibit_gethostby: - @re='\<gethostby(addr|name2?) *\(' \ - msg='use getaddrinfo, not gethostby*' \ - $(_prohibit_regexp) + @prohibit='\<gethostby(addr|name2?) *\(' \ + halt='use getaddrinfo, not gethostby*' \ + $(_sc_search_regexp) # Disallow trailing blank lines. sc_prohibit_trailing_blank_lines: |