r3674 - branches/2.0/varnish-cache/bin/varnishd

tfheen at projects.linpro.no tfheen at projects.linpro.no
Fri Feb 6 14:55:45 CET 2009


Author: tfheen
Date: 2009-02-06 14:55:45 +0100 (Fri, 06 Feb 2009)
New Revision: 3674

Modified:
   branches/2.0/varnish-cache/bin/varnishd/flint.lnt
   branches/2.0/varnish-cache/bin/varnishd/flint.sh
Log:
Merge r3481: Flexelint adjustments



Modified: branches/2.0/varnish-cache/bin/varnishd/flint.lnt
===================================================================
--- branches/2.0/varnish-cache/bin/varnishd/flint.lnt	2009-02-06 13:51:11 UTC (rev 3673)
+++ branches/2.0/varnish-cache/bin/varnishd/flint.lnt	2009-02-06 13:55:45 UTC (rev 3674)
@@ -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: branches/2.0/varnish-cache/bin/varnishd/flint.sh
===================================================================
--- branches/2.0/varnish-cache/bin/varnishd/flint.sh	2009-02-06 13:51:11 UTC (rev 3673)
+++ branches/2.0/varnish-cache/bin/varnishd/flint.sh	2009-02-06 13:55:45 UTC (rev 3674)
@@ -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