提交 b92587bc 编写于 作者: C Chris Lalancette

Fix up "make syntax-check" after the tree restructuring.

Signed-off-by: NChris Lalancette <clalance@redhat.com>
上级 738ee810
src/util/util.c
...@@ -92,10 +92,9 @@ sc_prohibit_asprintf: ...@@ -92,10 +92,9 @@ sc_prohibit_asprintf:
$(_prohibit_regexp) $(_prohibit_regexp)
sc_prohibit_strncpy: sc_prohibit_strncpy:
@grep -nE 'strncpy *\(' \ @re='strncpy *\(' \
$$($(VC_LIST) | grep -v 'src/util.c') && \ msg='use virStrncpy, not strncpy' \
{ echo '$(ME): use virStrncpy, not strncpy' \ $(_prohibit_regexp)
1>&2; exit 1; } || :
sc_prohibit_VIR_ERR_NO_MEMORY: sc_prohibit_VIR_ERR_NO_MEMORY:
@re='\<V''IR_ERR_NO_MEMORY\>' \ @re='\<V''IR_ERR_NO_MEMORY\>' \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部