[libvirt] [PATCH] syntax-check: rewrite prohibit-duplicate-header in perl
Martin Kletzander
mkletzan at redhat.com
Wed Jun 22 11:30:17 UTC 2016
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160622/70bd9810/attachment-0001.sig>
More information about the libvir-list
mailing list