summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-09-24 11:02:00 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-09-24 11:02:00 +0200
commiteb9da005ba2d21e2f0b2a8ad23ad925d7d628a15 (patch)
treeb183a93254c73a40f17763bcb8091e50417132c4 /runtime
parente0dde79a806f46790df6104a6bacdbddaa938fd6 (diff)
downloadrsyslog-eb9da005ba2d21e2f0b2a8ad23ad925d7d628a15.tar.gz
rsyslog-eb9da005ba2d21e2f0b2a8ad23ad925d7d628a15.tar.xz
rsyslog-eb9da005ba2d21e2f0b2a8ad23ad925d7d628a15.zip
(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").
Diffstat (limited to 'runtime')
-rw-r--r--runtime/stream.c4
1 files changed, 2 insertions, 2 deletions
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;
}