[PATCH 01/48] Avoid strcase check for virsh-*.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The is a preparation patch, all the files listed in _virsh_avoid_strcase
will use strcasecmp to sort the objects.
---
 cfg.mk |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/cfg.mk b/cfg.mk
index e2af2bb..871e50a 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -736,7 +736,10 @@ $(srcdir)/src/remote/remote_client_bodies.h: $(srcdir)/src/remote/remote_protoco
 	$(MAKE) -C src remote/remote_client_bodies.h
 
 # List all syntax-check exemptions:
-exclude_file_name_regexp--sc_avoid_strcase = ^tools/virsh(-domain-monitor|-snapshot)?\.c$$
+# maint.mk: don't use raw strcase functions (use c-strcase instead)
+
+_virsh_avoid_strcase=(-domain-monitor|-volume|-pool|-network|-interface|-nwfilter|-secret|-snapshot|-nodedev)
+exclude_file_name_regexp--sc_avoid_strcase = ^tools/virsh$(_virsh_avoid_strcase)?\.c$$
 
 _src1=libvirt|fdstream|qemu/qemu_monitor|util/(command|util)|xen/xend_internal|rpc/virnetsocket|lxc/lxc_controller
 exclude_file_name_regexp--sc_avoid_write = \
-- 
1.7.7.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]