riscos & atexit [was: bogofilter NEWS,1.488,1.489]
David Relson <[email protected]> Mon, 12 Sep 2005 19:32:01 -0400
| Newsgroups | gmane.mail.bogofilter.devel |
|---|---|
| Organization | Osage Software Systems, Inc. |
| Message-ID | <[email protected]> |
On Tue, 13 Sep 2005 00:16:54 +0200 Matthias Andree wrote: > Stefan Bellon <[email protected]> writes: > > > David Relson wrote: > >> On Sun, 11 Sep 2005 18:13:14 +0200 > >> Matthias Andree wrote: > > > >> > If RISC OS is borked, please have such hacks as RISC OS patches, > >> > not upstream. > > > > Erm, RISC OS is not borked, it just behaves differently. > > Bogofilter was written with POSIX semantics in mind. > > > What about including it with #ifdef __riscos__ if it helps solve the > > trouble on RISC OS? > > If you can constrain these to separate compatibility files and don't > clutter up the main code with these, fine. It's usually more concise to > write a compatibility function so that few (if more than one at all) > places need to be changed. > > -- > Matthias Andree Matthias, 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. _______________________________________________ Bogofilter-dev mailing list [email protected] http://www.bogofilter.org/mailman/listinfo/bogofilter-dev