diff options
author | Richard Jones <rjones@redhat.com> | 2010-09-10 22:51:39 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2010-09-10 22:51:39 +0100 |
commit | 3d994f3d8e12356223d37c1b45ebe2eb39ef28a6 (patch) | |
tree | 2ab4ed981cbc42ef68db71d6b8376c75f8dc4d0a /cfg.mk | |
parent | c359347dd42c9f5b875630537ee3641264826b89 (diff) | |
download | libguestfs-3d994f3d8e12356223d37c1b45ebe2eb39ef28a6.tar.gz libguestfs-3d994f3d8e12356223d37c1b45ebe2eb39ef28a6.tar.xz libguestfs-3d994f3d8e12356223d37c1b45ebe2eb39ef28a6.zip |
syntax: Replace _prohibit_regexp with _sc_search_regexp.
Diffstat (limited to 'cfg.mk')
-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: |