git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c359347
)
syntax: Replace _prohibit_regexp with _sc_search_regexp.
author
Richard Jones
<rjones@redhat.com>
Fri, 10 Sep 2010 21:51:39 +0000
(22:51 +0100)
committer
Richard Jones
<rjones@redhat.com>
Fri, 10 Sep 2010 21:51:39 +0000
(22:51 +0100)
cfg.mk
patch
|
blob
|
history
diff --git
a/cfg.mk
b/cfg.mk
index
d45ec88
..
eb95dd3
100644
(file)
--- a/
cfg.mk
+++ b/
cfg.mk
@@
-100,16
+100,16
@@
sc_avoid_ctype_macros:
1>&2; exit 1; } || :
sc_prohibit_virBufferAdd_with_string_literal:
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:
# 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:
# Disallow trailing blank lines.
sc_prohibit_trailing_blank_lines: