Re: riscos & atexit

Matthias Andree <[email protected]> Tue, 13 Sep 2005 10:56:34 +0200
Newsgroups gmane.mail.bogofilter.devel
Message-ID <[email protected]>
David Relson <[email protected]> writes:

> A fairly simple approach is to "#define ATEXIT" as a nop for operating
> systems other than RISC OS.  Since RISC OS has its own Makefile,
> src/Makefile.am wouldn't be affected.
>
> What do you think?
>
> David
>
> P.S. The mods are quite minor.

In this particular context, I'd avoid the #ifdef; some code to prevent
double close however would be in order. Difficulty: lock-failed-retry
code paths share some close functions with exit paths - it's non-trivial.

-- 
Matthias Andree
_______________________________________________
Bogofilter-dev mailing list
[email protected]
http://www.bogofilter.org/mailman/listinfo/bogofilter-dev