r3501 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Sat Jan 10 23:30:04 CET 2009


Author: phk
Date: 2009-01-10 23:30:04 +0100 (Sat, 10 Jan 2009)
New Revision: 3501

Modified:
   trunk/varnish-cache/bin/varnishd/mgt_vcc.c
Log:
Don't panic if we fail to delete shared objects in atexit().

Fixes #376



Modified: trunk/varnish-cache/bin/varnishd/mgt_vcc.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_vcc.c	2009-01-10 22:27:39 UTC (rev 3500)
+++ trunk/varnish-cache/bin/varnishd/mgt_vcc.c	2009-01-10 22:30:04 UTC (rev 3501)
@@ -436,7 +436,7 @@
 		vp = VTAILQ_FIRST(&vclhead);
 		if (vp == NULL)
 			break;
-		mgt_vcc_del(vp);
+		(void)unlink(vp->fname);
 	}
 }
 



More information about the varnish-commit mailing list