Commit 5de42499 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Don't check for EISDIR, it's not portable (solaris)



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@4570 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent db942e03
...@@ -417,7 +417,6 @@ wrk_herdtimer_thread(void *priv) ...@@ -417,7 +417,6 @@ wrk_herdtimer_thread(void *priv)
AN(unlink("/")); /* This had better fail */ AN(unlink("/")); /* This had better fail */
errno_is_multi_threaded = errno; errno_is_multi_threaded = errno;
assert(errno_is_multi_threaded != 0); assert(errno_is_multi_threaded != 0);
assert(errno == EISDIR);
memset(&vsm, 0, sizeof vsm); memset(&vsm, 0, sizeof vsm);
vs = &vsm; vs = &vsm;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment