r3481 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Sun Dec 21 11:56:11 CET 2008


Author: phk
Date: 2008-12-21 11:56:11 +0100 (Sun, 21 Dec 2008)
New Revision: 3481

Modified:
   trunk/varnish-cache/bin/varnishd/flint.lnt
   trunk/varnish-cache/bin/varnishd/flint.sh
Log:
Flexelint adjustments



Modified: trunk/varnish-cache/bin/varnishd/flint.lnt
===================================================================
--- trunk/varnish-cache/bin/varnishd/flint.lnt	2008-12-21 10:55:53 UTC (rev 3480)
+++ trunk/varnish-cache/bin/varnishd/flint.lnt	2008-12-21 10:56:11 UTC (rev 3481)
@@ -69,6 +69,8 @@
 
 -ffc	// No automatic custody
 
+-e455	// thread lock
+-e458	// unprotected read
 -e763	// Redundant declaration for symbol '...' previously declared
 -e726	// Extraneous comma ignored
 -e728	// Symbol ... not explicitly initialized

Modified: trunk/varnish-cache/bin/varnishd/flint.sh
===================================================================
--- trunk/varnish-cache/bin/varnishd/flint.sh	2008-12-21 10:55:53 UTC (rev 3480)
+++ trunk/varnish-cache/bin/varnishd/flint.sh	2008-12-21 10:56:11 UTC (rev 3481)
@@ -10,25 +10,4 @@
 	flint.lnt \
 	*.c \
 	../../lib/libvarnish/*.c \
-	../../lib/libvcl/*.c \
-	> $T 2>&1
-
-for t in Error Warning Info Note
-do
-	sed -n "/$t [0-9][0-9][0-9]:/s/.*\($t [0-9][0-9][0-9]\).*/\1/p" $T
-done | awk '
-$2 == 830	{ next }
-$2 == 831	{ next }
-	{
-	i=$2"_"$1
-	h[i]++
-	n++
-	}
-END	{
-	printf "%5d %s\n", n, "Total"
-	for (i in h)
-		printf "%5d %s\n", h[i], i
-	}
-' | sort -rn
-
-cat $T
+	../../lib/libvcl/*.c 



More information about the varnish-commit mailing list