QDBM and transactions

Matthias Andree matthias.andree at gmx.de
Tue Nov 2 03:33:05 CET 2004


"Pavel Kankovsky" <peak at argo.troja.mff.cuni.cz> writes:

> BTW: Matthias, you should avoid stdio calls in a signal handler. Most libc
> routines, including stdio, are not reentrant.

I believe I've fixed this now. Could you have another look at the
current db_lock.c file to see if the signal handler is safe now?

I'm attaching the file for your convenience.

-- 
Matthias Andree
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: db_lock.c
URL: <https://www.bogofilter.org/pipermail/bogofilter-dev/attachments/20041102/d52fb35f/attachment.c>


More information about the bogofilter-dev mailing list