0.7.6 tasks

Clint Adams schizo at debian.org
Sat Oct 26 07:07:07 CEST 2002


> On ia64, there are casting size warnings in lexer.l.  On s390, there's a
> signed/unsigned char problem.  The same is true on powerpc, and if
> memory serves, will be true of ARM as well.

This should fix the problem on s390/powerpc/arm.  I will test it
shortly.

Index: bogoutil.c
===================================================================
RCS file: /cvsroot/bogofilter/bogofilter/bogoutil.c,v
retrieving revision 1.15
diff -u -r1.15 bogoutil.c
--- bogoutil.c	24 Oct 2002 12:52:46 -0000	1.15
+++ bogoutil.c	26 Oct 2002 05:05:52 -0000
@@ -358,9 +358,8 @@
 {
     typedef enum { NONE, DUMP = 1, LOAD = 2, WORD = 3, ROBX = 4 } cmd_t;
 
-    int  count = 0;
+    int  count = 0, ch;
     char *db_file = NULL;
-    char ch;
     cmd_t flag = NONE;
 
     while ((ch = getopt(argc, argv, "d:l:w:R:hvVx:")) != -1)




More information about the bogofilter-dev mailing list