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

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

Signed-off-by: NChris Lalancette <clalance@redhat.com>
上级 738ee810
......@@ -92,10 +92,9 @@ sc_prohibit_asprintf:
$(_prohibit_regexp)
sc_prohibit_strncpy:
@grep -nE 'strncpy *\(' \
$$($(VC_LIST) | grep -v 'src/util.c') && \
{ echo '$(ME): use virStrncpy, not strncpy' \
1>&2; exit 1; } || :
@re='strncpy *\(' \
msg='use virStrncpy, not strncpy' \
$(_prohibit_regexp)
sc_prohibit_VIR_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.
先完成此消息的编辑!
想要评论请 注册