Porting to RISC OS

Stefan Bellon sbellon at sbellon.de
Sun Sep 7 09:04:43 CEST 2003


Matthias Andree wrote:
> Stefan Bellon <sbellon at sbellon.de> writes:

> > 5) As RISC OS doesn't have a port of Berkeley DB and TDB was too
> >    slow, I ported sdbm and qdbm and created interfaces to them. I
> >    can provide those files (datastore_sdbm.c and datastore_qdbm.c).
> >    (If you're interested: sdbm is about 40 to 50 % slower and needs
> >    30 % more disc space than qdbm for average bogofilter usage.)

> ftp://tsx-11.mit.edu/pub/linux/sources/libs/
>  sdbm.tar.Z . . . . . . . . . . . Feb 25  1992     63k

> Do we really want to add some 13-year-old library stuff, sdbm?

Quite certainly not! SDBM is part of Apache and still maintained.

> I don't think so if it doesn't have any advantages and isn't
> necessary to work.

If another operating system doesn't have Berkeley DB and TDB is too
slow and QDBM is not ported, why not give the opportunity to use SDBM?

> Intimidating.

> Other than that:
> sdbm.c:45: conflicting types for `malloc'
> -> *boom*

Wrong version. My version of SDBM (taken out of Apache 1.3.28) doesn't
have a problem.

> I'll kill that stuff before someone hurts himself...

Think about it once more, please.

Stefan.

-- 
1/2: One half the value, i.e.: 1/2, X/2, PS/2, OS/2, ...




More information about the bogofilter-dev mailing list