[master] 0fe5128 Just hide this whole thing from Sun CC for now
Federico G. Schwindt
fgsch at lodoss.net
Sat Apr 14 10:49:09 UTC 2018
commit 0fe51283c27ab03ee8a93bf9699ea6fbabad846b
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date: Sat Apr 14 11:48:18 2018 +0100
Just hide this whole thing from Sun CC for now
diff --git a/bin/varnishtest/vtc_server.c b/bin/varnishtest/vtc_server.c
index 04199de..2943058 100644
--- a/bin/varnishtest/vtc_server.c
+++ b/bin/varnishtest/vtc_server.c
@@ -321,7 +321,9 @@ server_dispatch_thread(void *priv)
assert(s->sock >= 0);
vl = vtc_logopen(s->name);
+#if !defined(__SUNPRO_C)
pthread_cleanup_push(vtc_logclose, vl);
+#endif
vtc_log(vl, 2, "Dispatch started on %s", s->listen);
@@ -340,7 +342,9 @@ server_dispatch_thread(void *priv)
s2->run = 1;
AZ(pthread_create(&s2->tp, NULL, server_dispatch_wrk, s2));
}
- NEEDLESS(pthread_cleanup_pop(1));
+#if !defined(__SUNPRO_C)
+ pthread_cleanup_pop(1);
+#endif
NEEDLESS(return(NULL));
}
More information about the varnish-commit
mailing list