r3780 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Tue Feb 17 11:12:21 CET 2009


Author: phk
Date: 2009-02-17 11:12:21 +0100 (Tue, 17 Feb 2009)
New Revision: 3780

Modified:
   trunk/varnish-cache/bin/varnishd/cache_hash.c
   trunk/varnish-cache/bin/varnishd/flint.sh
Log:
Assert that we got an objcore



Modified: trunk/varnish-cache/bin/varnishd/cache_hash.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_hash.c	2009-02-17 10:06:19 UTC (rev 3779)
+++ trunk/varnish-cache/bin/varnishd/cache_hash.c	2009-02-17 10:12:21 UTC (rev 3780)
@@ -95,6 +95,7 @@
 
 	if (w->nobjcore == NULL) {
 		ALLOC_OBJ(oc, OBJCORE_MAGIC);
+		XXXAN(oc);
 		w->nobjcore = oc;
 		oc->flags |= OC_F_BUSY;
 	}

Modified: trunk/varnish-cache/bin/varnishd/flint.sh
===================================================================
--- trunk/varnish-cache/bin/varnishd/flint.sh	2009-02-17 10:06:19 UTC (rev 3779)
+++ trunk/varnish-cache/bin/varnishd/flint.sh	2009-02-17 10:12:21 UTC (rev 3780)
@@ -10,4 +10,11 @@
 	flint.lnt \
 	*.c \
 	../../lib/libvarnish/*.c \
-	../../lib/libvcl/*.c 
+	../../lib/libvcl/*.c \
+	> $T
+if [ -f _flint.old ] ; then
+	diff -u _flint.old $T
+	mv $T _flint.old
+fi
+cat $T
+rm $T



More information about the varnish-commit mailing list