r1354 - in branches/1.0: . bin/varnishd

des at projects.linpro.no des at projects.linpro.no
Thu Apr 19 16:51:19 CEST 2007


Author: des
Date: 2007-04-19 16:51:19 +0200 (Thu, 19 Apr 2007)
New Revision: 1354

Added:
   branches/1.0/bin/varnishd/vclflint.lnt
   branches/1.0/bin/varnishd/vclflint.sh
Modified:
   branches/1.0/
Log:
 r37087 at cat (orig r1311):  phk | 2007-04-09 23:08:21 +0200
 Add scripts to run flexelint over VCL compiler output
 



Property changes on: branches/1.0
___________________________________________________________________
Name: svk:merge
   - d4fa192b-c00b-0410-8231-f00ffab90ce4:/trunk/varnish-cache:1310
   + d4fa192b-c00b-0410-8231-f00ffab90ce4:/trunk/varnish-cache:1311

Added: branches/1.0/bin/varnishd/vclflint.lnt
===================================================================
--- branches/1.0/bin/varnishd/vclflint.lnt	2007-04-19 14:51:18 UTC (rev 1353)
+++ branches/1.0/bin/varnishd/vclflint.lnt	2007-04-19 14:51:19 UTC (rev 1354)
@@ -0,0 +1,15 @@
+// Flexelint configuration file for VCL compiler output
+//
+
+-passes=3
+
+-esym(763, sess)	// Redundant declaration for symbol 'sess'
+			// Harmless
+
+-e786			// String concatenation within initializer
+			// Harmless
+
+-e752			// local declarator [...] not referenced
+-e754			// local structure member [...] not referenced
+-e526			// Symbol [...] not defined
+

Added: branches/1.0/bin/varnishd/vclflint.sh
===================================================================
--- branches/1.0/bin/varnishd/vclflint.sh	2007-04-19 14:51:18 UTC (rev 1353)
+++ branches/1.0/bin/varnishd/vclflint.sh	2007-04-19 14:51:19 UTC (rev 1354)
@@ -0,0 +1,7 @@
+#!/bin/sh
+#
+# Run flexelint on the VCL output
+
+./varnishd -C -b localhost > /tmp/_.c
+
+flexelint vclflint.lnt /tmp/_.c 




More information about the varnish-commit mailing list