Only in bogofilter-0.92.4: config.log Only in bogofilter-0.92.4: config.status Only in bogofilter-0.92.4: configure.os2 Only in bogofilter-0.92.4/contrib: .deps Only in bogofilter-0.92.4/contrib: Makefile Only in bogofilter-0.92.4/doc: bogofilter.1 Only in bogofilter-0.92.4/doc: bogofilter.html Only in bogofilter-0.92.4/doc: bogolexer.1 Only in bogofilter-0.92.4/doc: bogolexer.html Only in bogofilter-0.92.4/doc: bogotune.1 Only in bogofilter-0.92.4/doc: bogotune.html Only in bogofilter-0.92.4/doc: bogoupgrade.1 Only in bogofilter-0.92.4/doc: bogoupgrade.html Only in bogofilter-0.92.4/doc: bogoutil.1 Only in bogofilter-0.92.4/doc: bogoutil.html Only in bogofilter-0.92.4/doc: Makefile Only in bogofilter-0.92.4: Makefile Only in bogofilter-0.92.4/src: .deps Only in bogofilter-0.92.4/src: base64.o Only in bogofilter-0.92.4/src: bf_exit.o diff -urbB bogofilter-0.92.4.0/src/bogoconfig.c bogofilter-0.92.4/src/bogoconfig.c --- bogofilter-0.92.4.0/src/bogoconfig.c Thu Jul 29 14:22:26 2004 +++ bogofilter-0.92.4/src/bogoconfig.c Sat Jul 31 16:26:30 2004 @@ -389,6 +389,9 @@ if (pass != PASS_1_CLI) { optind = opterr = 1; +#ifdef __EMX__ + optind = 0; +#endif /* don't use #ifdef here: */ #if HAVE_DECL_OPTRESET optreset = 1; Only in bogofilter-0.92.4/src: bogoconfig.c~ Only in bogofilter-0.92.4/src: bogoconfig.o Only in bogofilter-0.92.4/src: bogofilter Only in bogofilter-0.92.4/src: bogofilter.exe Only in bogofilter-0.92.4/src: bogofilter.map Only in bogofilter-0.92.4/src: bogofilter.o Only in bogofilter-0.92.4/src: bogohist.o Only in bogofilter-0.92.4/src: bogohome.o Only in bogofilter-0.92.4/src: bogolexer diff -urbB bogofilter-0.92.4.0/src/bogolexer.c bogofilter-0.92.4/src/bogolexer.c --- bogofilter-0.92.4.0/src/bogolexer.c Thu Jul 29 14:22:26 2004 +++ bogofilter-0.92.4/src/bogolexer.c Sat Jul 31 16:26:30 2004 @@ -155,6 +155,10 @@ int this_option_optind = optind ? optind : 1; const char *name; +#ifdef __EMX__ + if (optind == 1) optind = 0; +#endif + option = getopt_long(argc, argv, OPTIONS, long_options, &option_index); @@ -268,6 +272,11 @@ int main(int argc, char **argv) { token_t t; + +#ifdef __EMX__ + _response (&argc, &argv); /* expand response files (@filename) */ + _wildcard (&argc, &argv); /* expand wildcards (*.*) */ +#endif mbox_mode = true; /* to allow multiple messages */ Only in bogofilter-0.92.4/src: bogolexer.c~ Only in bogofilter-0.92.4/src: bogolexer.exe Only in bogofilter-0.92.4/src: bogolexer.map Only in bogofilter-0.92.4/src: bogolexer.o Only in bogofilter-0.92.4/src: bogoreader.o Only in bogofilter-0.92.4/src: bogotune diff -urbB bogofilter-0.92.4.0/src/bogotune.c bogofilter-0.92.4/src/bogotune.c --- bogofilter-0.92.4.0/src/bogotune.c Tue Jun 8 16:16:56 2004 +++ bogofilter-0.92.4/src/bogotune.c Sat Jul 31 16:26:30 2004 @@ -1644,6 +1644,11 @@ atexit(bt_exit); +#ifdef __EMX__ + _response (&argc, &argv); /* expand response files (@filename) */ + _wildcard (&argc, &argv); /* expand wildcards (*.*) */ +#endif + fBogotune = true; /* for rob_compute_spamicity() */ dbgout = stdout; Only in bogofilter-0.92.4/src: bogotune.exe Only in bogofilter-0.92.4/src: bogotune.map Only in bogofilter-0.92.4/src: bogotune.o Only in bogofilter-0.92.4/src: bogoupgrade Only in bogofilter-0.92.4/src: bogoutil diff -urbB bogofilter-0.92.4.0/src/bogoutil.c bogofilter-0.92.4/src/bogoutil.c --- bogofilter-0.92.4.0/src/bogoutil.c Thu Jul 29 14:22:26 2004 +++ bogofilter-0.92.4/src/bogoutil.c Sat Jul 31 16:26:30 2004 @@ -588,6 +588,11 @@ int main(int argc, char *argv[]) { +#ifdef __EMX__ + _response (&argc, &argv); /* expand response files (@filename) */ + _wildcard (&argc, &argv); /* expand wildcards (*.*) */ +#endif + progtype = build_progtype(progname, DB_TYPE); set_today(); /* compute current date for token age */ Only in bogofilter-0.92.4/src: bogoutil.exe Only in bogofilter-0.92.4/src: bogoutil.map Only in bogofilter-0.92.4/src: bogoutil.o Only in bogofilter-0.92.4/src: bogowordfreq diff -urbB bogofilter-0.92.4.0/src/bogowordfreq.c bogofilter-0.92.4/src/bogowordfreq.c --- bogofilter-0.92.4.0/src/bogowordfreq.c Mon May 17 20:07:06 2004 +++ bogofilter-0.92.4/src/bogowordfreq.c Sat Jul 31 16:26:32 2004 @@ -53,6 +53,11 @@ int main(int argc, char **argv) { +#ifdef __EMX__ + _response (&argc, &argv); /* expand response files (@filename) */ + _wildcard (&argc, &argv); /* expand wildcards (*.*) */ +#endif + max_repeats=1; /* set default value */ if (argc >= 2) { Only in bogofilter-0.92.4/src: bogowordfreq.exe Only in bogofilter-0.92.4/src: bogowordfreq.map Only in bogofilter-0.92.4/src: bogowordfreq.o Only in bogofilter-0.92.4/src: bool.o Only in bogofilter-0.92.4/src: buff.o Only in bogofilter-0.92.4/src: charset.o Only in bogofilter-0.92.4/src: collect.o Only in bogofilter-0.92.4/src: config.h Only in bogofilter-0.92.4/src: configfile.o Only in bogofilter-0.92.4/src: configtest Only in bogofilter-0.92.4/src: configtest.exe Only in bogofilter-0.92.4/src: configtest.map Only in bogofilter-0.92.4/src: configtest.o Only in bogofilter-0.92.4/src: datastore.o diff -urbB bogofilter-0.92.4.0/src/datastore_db.c bogofilter-0.92.4/src/datastore_db.c --- bogofilter-0.92.4.0/src/datastore_db.c Wed Jun 30 06:10:48 2004 +++ bogofilter-0.92.4/src/datastore_db.c Sat Jul 31 16:26:32 2004 @@ -197,6 +197,7 @@ * limit. errors from the system are ignored, no warning then. */ static void check_fsize_limit(int fd, uint32_t pagesize) { +#ifndef __EMX__ struct stat st; struct rlimit rl; @@ -221,6 +222,7 @@ print_error(__FILE__, __LINE__, " data base corruption."); } } +#endif } /* The old, pre-3.3 API will not fill in the page size with Only in bogofilter-0.92.4/src: datastore_db.o Only in bogofilter-0.92.4/src: datastore_db.~ Only in bogofilter-0.92.4/src: debug.main.o Only in bogofilter-0.92.4/src: debug.o Only in bogofilter-0.92.4/src: debugtest Only in bogofilter-0.92.4/src: debugtest.exe Only in bogofilter-0.92.4/src: debugtest.map Only in bogofilter-0.92.4/src: directories.c Only in bogofilter-0.92.4/src: directories.o Only in bogofilter-0.92.4/src: error.o Only in bogofilter-0.92.4/src: fgetsl.o Only in bogofilter-0.92.4/src: fgetsl.test Only in bogofilter-0.92.4/src: fgetsl.test.exe Only in bogofilter-0.92.4/src: fgetsl_test-fgetsl.o Only in bogofilter-0.92.4/src: find_home.o Only in bogofilter-0.92.4/src: find_home.test Only in bogofilter-0.92.4/src: find_home.test.exe Only in bogofilter-0.92.4/src: find_home.test.o Only in bogofilter-0.92.4/src: find_home_tildeexpand.o Only in bogofilter-0.92.4/src: find_home_user.o Only in bogofilter-0.92.4/src: format.o Only in bogofilter-0.92.4/src: globals.o Only in bogofilter-0.92.4/src: lexer.o Only in bogofilter-0.92.4/src: lexer_v3.o Only in bogofilter-0.92.4/src: libbf_gsl.a Only in bogofilter-0.92.4/src: libbf_gsl_a-chisq.o Only in bogofilter-0.92.4/src: libbf_gsl_a-coerce.o Only in bogofilter-0.92.4/src: libbf_gsl_a-elementary.o Only in bogofilter-0.92.4/src: libbf_gsl_a-erfc.o Only in bogofilter-0.92.4/src: libbf_gsl_a-error.o Only in bogofilter-0.92.4/src: libbf_gsl_a-exp.o Only in bogofilter-0.92.4/src: libbf_gsl_a-expint.o Only in bogofilter-0.92.4/src: libbf_gsl_a-fdiv.o Only in bogofilter-0.92.4/src: libbf_gsl_a-gamma.o Only in bogofilter-0.92.4/src: libbf_gsl_a-gamma_inc.o Only in bogofilter-0.92.4/src: libbf_gsl_a-infnan.o Only in bogofilter-0.92.4/src: libbf_gsl_a-log.o Only in bogofilter-0.92.4/src: libbf_gsl_a-minmax.o Only in bogofilter-0.92.4/src: libbf_gsl_a-pow_int.o Only in bogofilter-0.92.4/src: libbf_gsl_a-psi.o Only in bogofilter-0.92.4/src: libbf_gsl_a-stream.o Only in bogofilter-0.92.4/src: libbf_gsl_a-trig.o Only in bogofilter-0.92.4/src: libbf_gsl_a-zeta.o Only in bogofilter-0.92.4/src: libbogofilter.a diff -urbB bogofilter-0.92.4.0/src/main.c bogofilter-0.92.4/src/main.c --- bogofilter-0.92.4.0/src/main.c Tue Jun 8 15:42:30 2004 +++ bogofilter-0.92.4/src/main.c Sat Jul 31 16:26:32 2004 @@ -40,6 +40,11 @@ rc_t status; ex_t exitcode = EX_OK; +#ifdef __EMX__ + _response (&argc, &argv); /* expand response files (@filename) */ + _wildcard (&argc, &argv); /* expand wildcards (*.*) */ +#endif + dbgout = stderr; progtype = build_progtype(progname, DB_TYPE); Only in bogofilter-0.92.4/src: main.o Only in bogofilter-0.92.4/src: maint.o Only in bogofilter-0.92.4/src: Makefile Only in bogofilter-0.92.4/src: mime.o Only in bogofilter-0.92.4/src: msgcounts.o Only in bogofilter-0.92.4/src: mysetvbuf.o Only in bogofilter-0.92.4/src: passthrough.o diff -urbB bogofilter-0.92.4.0/src/paths.h bogofilter-0.92.4/src/paths.h --- bogofilter-0.92.4.0/src/paths.h Tue May 18 02:22:52 2004 +++ bogofilter-0.92.4/src/paths.h Sat Jul 31 16:26:32 2004 @@ -14,7 +14,7 @@ /* Path Definitions */ -#if !defined(__OS2__) && !defined(__riscos__) +#if !defined(_OS2_) && !defined(__riscos__) #define BOGODIR ".bogofilter" #else #define BOGODIR "bogofilter" Only in bogofilter-0.92.4/src: paths.o Only in bogofilter-0.92.4/src: prob.o Only in bogofilter-0.92.4/src: qp.o Only in bogofilter-0.92.4/src: rand_sleep.o Only in bogofilter-0.92.4/src: register.o Only in bogofilter-0.92.4/src: robx.o Only in bogofilter-0.92.4/src: rstats.o Only in bogofilter-0.92.4/src: score.o Only in bogofilter-0.92.4/src: stamp-h1 Only in bogofilter-0.92.4/src: swap_32bit.o diff -urbB bogofilter-0.92.4.0/src/system.c bogofilter-0.92.4/src/system.c --- bogofilter-0.92.4.0/src/system.c Wed Feb 25 02:20:58 2004 +++ bogofilter-0.92.4/src/system.c Sat Jul 31 16:26:32 2004 @@ -37,7 +37,7 @@ bool bf_abspath(const char *path /** path to check for absoluteness */) { #if defined(__OS2__) - return (bool) strchr(path, ':'); + return (bool) strchr(path, ':') || (bool) (*path == '\\') || (bool) (*path == '/'); #elif defined(__riscos__) return (bool) (strchr(path, ':') || strchr(path, '$') || strchr(path, '#') || strchr(path, '@') || strchr(path, '%') || strchr(path, '&')); Only in bogofilter-0.92.4/src: system.o Only in bogofilter-0.92.4/src/tests: .deps Only in bogofilter-0.92.4/src/tests: abortme Only in bogofilter-0.92.4/src/tests: abortme.exe Only in bogofilter-0.92.4/src/tests: abortme.map Only in bogofilter-0.92.4/src/tests: abortme.o Only in bogofilter-0.92.4/src/tests: deb64 Only in bogofilter-0.92.4/src/tests: deb64.exe Only in bogofilter-0.92.4/src/tests: deb64.map Only in bogofilter-0.92.4/src/tests: deb64.o Only in bogofilter-0.92.4/src/tests: dehex Only in bogofilter-0.92.4/src/tests: dehex.exe Only in bogofilter-0.92.4/src/tests: dehex.map Only in bogofilter-0.92.4/src/tests: dehex.o Only in bogofilter-0.92.4/src/tests: deqp Only in bogofilter-0.92.4/src/tests: deqp.exe Only in bogofilter-0.92.4/src/tests: deqp.map Only in bogofilter-0.92.4/src/tests: deqp.o Only in bogofilter-0.92.4/src/tests: dumbhead Only in bogofilter-0.92.4/src/tests: dumbhead.exe Only in bogofilter-0.92.4/src/tests: dumbhead.map Only in bogofilter-0.92.4/src/tests: dumbhead.o Only in bogofilter-0.92.4/src/tests: escnp Only in bogofilter-0.92.4/src/tests: escnp.exe Only in bogofilter-0.92.4/src/tests: escnp.map Only in bogofilter-0.92.4/src/tests: escnp.o Only in bogofilter-0.92.4/src/tests: Makefile diff -urbB bogofilter-0.92.4.0/src/tests/outputs/degen.out bogofilter-0.92.4/src/tests/outputs/degen.out --- bogofilter-0.92.4.0/src/tests/outputs/degen.out Wed Oct 1 00:39:46 2003 +++ bogofilter-0.92.4/src/tests/outputs/degen.out Sat Jul 31 16:26:32 2004 @@ -3,11 +3,11 @@ "head:FREE" 0 0.000000 0.000000 0.415000 - "head:Free" 3 0.333333 0.500000 0.599385 - -Pdf.FREE +Pdf.FREE2 *** head:Free - o: 0.500000, n: 0.599385, a: 0.599385 "head:FREE" 3 0.333333 0.500000 0.599385 - -PdF.FREE +PdF.FREE2 *** head:Free - o: 0.500000, n: 0.599385, a: 0.599385 *** head:free - o: 0.599385, n: 0.000691, a: 0.000691 *** FREE - o: 0.000691, n: 0.415000, a: 0.000691 Only in bogofilter-0.92.4/src/tests: spam_header_name Only in bogofilter-0.92.4/src/tests: spam_header_name.exe Only in bogofilter-0.92.4/src/tests: spam_header_name.map Only in bogofilter-0.92.4/src/tests: spam_header_name.o Only in bogofilter-0.92.4/src/tests: t.config diff -urbB bogofilter-0.92.4.0/src/tests/t.frame bogofilter-0.92.4/src/tests/t.frame --- bogofilter-0.92.4.0/src/tests/t.frame Fri Jul 2 02:46:22 2004 +++ bogofilter-0.92.4/src/tests/t.frame Sat Jul 31 16:26:32 2004 @@ -75,7 +75,7 @@ INSERT=. while [ $i -lt 3 ] ; do PRINTCORE=${srcdir}/$INSERT/printcore - if [ -x $PRINTCORE ] ; then break ; fi + if [ -f $PRINTCORE ] ; then break ; fi i=`expr $i + 1` INSERT=$INSERT/.. done Only in bogofilter-0.92.4/src/tests: t.parsing.orig Only in bogofilter-0.92.4/src/tests: u_fpe Only in bogofilter-0.92.4/src/tests: u_fpe.exe Only in bogofilter-0.92.4/src/tests: u_fpe.map Only in bogofilter-0.92.4/src/tests: u_fpe.o Only in bogofilter-0.92.4/src/tests: wantcore diff -urbB bogofilter-0.92.4.0/src/tests/wantcore.c bogofilter-0.92.4/src/tests/wantcore.c --- bogofilter-0.92.4.0/src/tests/wantcore.c Mon Jan 19 19:33:14 2004 +++ bogofilter-0.92.4/src/tests/wantcore.c Sat Jul 31 16:26:32 2004 @@ -28,17 +28,21 @@ } int main(int argc, char **argv) { +#ifndef __EMX__ struct rlimit rl; +#endif if (argc <= 1) { fprintf(stderr, "Usage: %s program [args]\n", argv[0]); exit(EXIT_FAILURE); } +#ifndef __EMX__ if (getrlimit(RLIMIT_CORE, &rl)) barf("getrlimit"); rl.rlim_cur = rl.rlim_max; if (setrlimit(RLIMIT_CORE, &rl)) barf("setrlimit"); +#endif execv(argv[1], argv+1); fprintf(stderr, "execv: "); barf(argv[1]); Only in bogofilter-0.92.4/src/tests: wantcore.exe Only in bogofilter-0.92.4/src/tests: wantcore.map Only in bogofilter-0.92.4/src/tests: wantcore.o Only in bogofilter-0.92.4/src: textblock.o Only in bogofilter-0.92.4/src: token.o Only in bogofilter-0.92.4/src: transaction.o Only in bogofilter-0.92.4/src: tunelist.o Only in bogofilter-0.92.4/src: uudecode.o Only in bogofilter-0.92.4/src: version.o Only in bogofilter-0.92.4/src: word.o Only in bogofilter-0.92.4/src: wordhash Only in bogofilter-0.92.4/src: wordhash.exe Only in bogofilter-0.92.4/src: wordhash.main.o Only in bogofilter-0.92.4/src: wordhash.map Only in bogofilter-0.92.4/src: wordhash.o diff -urbB bogofilter-0.92.4.0/src/wordlists.c bogofilter-0.92.4/src/wordlists.c --- bogofilter-0.92.4.0/src/wordlists.c Fri Jun 11 03:27:36 2004 +++ bogofilter-0.92.4/src/wordlists.c Sat Jul 31 16:26:32 2004 @@ -40,6 +40,9 @@ switch(err) { /* F_SETLK can't obtain lock */ case EAGAIN: +#ifdef __EMX__ + case EACCES: +#endif /* case EACCES: */ rand_sleep(MIN_SLEEP, MAX_SLEEP); retry = true; Only in bogofilter-0.92.4/src: wordlists.o Only in bogofilter-0.92.4/src: wordlists_base.o Only in bogofilter-0.92.4/src: xatof.o Only in bogofilter-0.92.4/src: xatoi.o Only in bogofilter-0.92.4/src: xcalloc.o Only in bogofilter-0.92.4/src: xmalloc.o Only in bogofilter-0.92.4/src: xmem_error.o Only in bogofilter-0.92.4/src: xmemrchr.o Only in bogofilter-0.92.4/src: xrealloc.o Only in bogofilter-0.92.4/src: xstrdup.o Only in bogofilter-0.92.4/src: xstrlcat.o Only in bogofilter-0.92.4/src: xstrlcpy.o Only in bogofilter-0.92.4/trio: Makefile