Re: [PATCH] syntax-check: rewrite prohibit-duplicate-header in perl

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

 



On Wed, Jun 15, 2016 at 06:30:39PM +0200, Ján Tomko wrote:
Invoke the script only once instead of once for every file.
---
build-aux/prohibit-duplicate-header.pl | 22 ++++++++++++++++++++++
cfg.mk                                 | 29 +++++------------------------
2 files changed, 27 insertions(+), 24 deletions(-)
create mode 100644 build-aux/prohibit-duplicate-header.pl


I applied the following diff and the check didn't go off.  The old one
worked.

diff --git i/src/libvirt.c w/src/libvirt.c
index a5e0e4148b4a..93757f120ca2 100644
--- i/src/libvirt.c
+++ w/src/libvirt.c
@@ -42,6 +42,7 @@

#ifdef WITH_CURL
# include <curl/curl.h>
+# include <sys/wait.h>
#endif

#include "virerror.h"
--

Haven't dug through that though.

Martin

Attachment: signature.asc
Description: Digital signature

--
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]