[cvs] bogofilter main.c,1.23,1.24
Fast Bayesian spam filter along lines suggested by Paul Graham
Brought to you by:
m-a
From: <re...@us...> - 2002-10-06 00:27:28
|
Update of /cvsroot/bogofilter/bogofilter In directory usw-pr-cvs1:/tmp/cvs-serv29422 Modified Files: main.c Log Message: Use environment variable BOGOFILTER_DIR to specify the directory for bogofilter's word lists. If BOGOFILTER_DIR isn't defined, use HOME instead. Index: main.c =================================================================== RCS file: /cvsroot/bogofilter/bogofilter/main.c,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** main.c 5 Oct 2002 22:13:11 -0000 1.23 --- main.c 6 Oct 2002 00:27:25 -0000 1.24 *************** *** 2,5 **** --- 2,9 ---- /* * $Log$ + * Revision 1.24 2002/10/06 00:27:25 relson + * Use environment variable BOGOFILTER_DIR to specify the directory for bogofilter's word lists. + * If BOGOFILTER_DIR isn't defined, use HOME instead. + * * Revision 1.23 2002/10/05 22:13:11 relson * If environment variables BOGODIR or HOME is defined, use its value for bogofilters *************** *** 133,137 **** int verbose, passthrough, update; ! char *dirnames[] = { "BOGODIR", "HOME", NULL }; int main(int argc, char **argv) --- 137,141 ---- int verbose, passthrough, update; ! char *dirnames[] = { "BOGOFILTER_DIR", "HOME", NULL }; int main(int argc, char **argv) |