From eb9da005ba2d21e2f0b2a8ad23ad925d7d628a15 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 24 Sep 2009 11:02:00 +0200 Subject: (temporary?) removal of very conservative locks in stream.c ...after we seem to have identified the root cause of the segfault. I leave them commented out so that we can re-activate it if need arises (aka "get some practice drill first"). --- runtime/stream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime/stream.c') diff --git a/runtime/stream.c b/runtime/stream.c index 9e88eca1..ff4515fc 100644 --- a/runtime/stream.c +++ b/runtime/stream.c @@ -1068,7 +1068,7 @@ doZipWrite(strm_t *pThis, uchar *pBuf, size_t lenBuf) assert(pThis != NULL); assert(pBuf != NULL); - pthread_mutex_lock(&mut); + //pthread_mutex_lock(&mut); /* allocate deflate state */ zstrm.zalloc = Z_NULL; @@ -1108,7 +1108,7 @@ finalize_it: } } - pthread_mutex_unlock(&mut); + //pthread_mutex_unlock(&mut); RETiRet; } -- cgit