bogofilter-0.93.3.1
Clint Adams
schizo at debian.org
Mon Dec 27 06:40:28 CET 2004
> Try this fix:
Beautiful.
> Works for me:
>
> [relson at osage relson]$ bogoutil --db-verify .bogofilter
> bogoutil: database .bogofilter does not verify: Is a directory
>
> [relson at osage src]$ bogoutil --db-verify 1226.d/wordlist.db
>
> [relson at osage src]$ bogoutil --db-verify 1226.d
> bogoutil: database 1226.d does not verify: Is a directory
>
> [relson at osage src]$ bogoutil --db-verify 1226.d/
> bogoutil: database 1226.d/ does not verify: Is a directory
>
> [relson at osage src]$ bogoutil --db-verify=1226.d/
> bogoutil: database 1226.d/ does not verify: Is a directory
>
> What's special about your environment? Can you do a debug build
> (without the -O2 in src/Makefile), run under gdb and send me a stack
> backtrace?
It's on sparc.
#0 0x700b1810 in __db_errcall () from /usr/lib/libdb-4.3.so
#1 0x700b1788 in __db_err () from /usr/lib/libdb-4.3.so
#2 0x7008c594 in __db_verify_internal () from /usr/lib/libdb-4.3.so
#3 0x0001ec20 in db_verify (dbfile=0xeffffdca ".bogofilter")
at ../../bogofilter-0.93.3.1/src/datastore_db.c:1328
#4 0x00016340 in ds_verify (file=0xeffffdca ".bogofilter")
at ../../bogofilter-0.93.3.1/src/datastore.c:456
#5 0x0001391c in main (argc=3, argv=0xeffffcb4)
at ../../bogofilter-0.93.3.1/src/bogoutil.c:868
Unless there's an alignment problem with one of the arguments to
DB->verify, I'd guess this is a db4.3 bug.
> Too many options to easily list them all in the usage message :-<
>
> I don't recally your mentioning this before. What is it?
Sorry, I'm exhausted and was babbling incoherently. There's a function for
zsh programmable completion which completes options and tokens for bogoutil,
and that function needs refining. There are also specialized completions
for bogotune and bogofilter, but I think they're still reasonably accurate.
More information about the bogofilter-dev
mailing list