mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
Fix up "make syntax-check" after the tree restructuring.
Signed-off-by: Chris Lalancette <clalance@redhat.com>
This commit is contained in:
parent
738ee810b4
commit
b92587bc56
1
.x-sc_prohibit_strncpy
Normal file
1
.x-sc_prohibit_strncpy
Normal file
@ -0,0 +1 @@
|
||||
src/util/util.c
|
7
cfg.mk
7
cfg.mk
@ -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\>' \
|
||||
|
Loading…
Reference in New Issue
Block a user