r4570 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Wed Feb 17 10:41:39 CET 2010


Author: phk
Date: 2010-02-17 10:41:39 +0100 (Wed, 17 Feb 2010)
New Revision: 4570

Modified:
   trunk/varnish-cache/bin/varnishd/cache_pool.c
Log:
Don't check for EISDIR, it's not portable (solaris)



Modified: trunk/varnish-cache/bin/varnishd/cache_pool.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_pool.c	2010-02-17 09:24:31 UTC (rev 4569)
+++ trunk/varnish-cache/bin/varnishd/cache_pool.c	2010-02-17 09:41:39 UTC (rev 4570)
@@ -417,7 +417,6 @@
 	AN(unlink("/"));		/* This had better fail */
 	errno_is_multi_threaded = errno;
 	assert(errno_is_multi_threaded != 0);
-	assert(errno == EISDIR);
 
 	memset(&vsm, 0, sizeof vsm);
 	vs = &vsm;



More information about the varnish-commit mailing list