new db_lock.c (was: Re: QDBM and transactions)

David Relson relson at osagesoftware.com
Sat Nov 6 18:31:16 CET 2004


On Sat, 6 Nov 2004 18:01:59 +0100 (CET)
Pavel Kankovsky wrote:

> On Tue, 2 Nov 2004, Matthias Andree wrote:
> 
> > 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?
> 
> It appears to ok now.
> 
> Two additional minor imperfections:
> 1. there is no check for read() errors (e.g. EIO) in check_zombies(),
> 2. "\n" is missing at the end of check_lock() error text.
> 
> --Pavel Kankovsky aka Peak  [ Boycott
> Microsoft--http://www.vcnet.com/bms ]"Resistance is futile. Open your
> source code and prepare for assimilation."

Hi Pavel,

The error text doesn't need a "\n".  Function print_error() provides the
needed LF character.

I'll let Matthias deal with the error codes in check_zombies().

David



More information about the bogofilter-dev mailing list