riscos & atexit

Matthias Andree matthias.andree at gmx.de
Tue Sep 13 10:56:34 CEST 2005


David Relson <relson at osagesoftware.com> 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



More information about the bogofilter-dev mailing list