0.7.6 tasks
Clint Adams
schizo at debian.org
Sat Oct 26 09:00:03 CEST 2002
> This should fix the problem on s390/powerpc/arm. I will test it
> shortly.
It did indeed. The following fixes the problem with ia64:
Index: lexer.l
===================================================================
RCS file: /cvsroot/bogofilter/bogofilter/lexer.l,v
retrieving revision 1.20
diff -u -r1.20 lexer.l
--- lexer.l 25 Oct 2002 01:38:42 -0000 1.20
+++ lexer.l 26 Oct 2002 06:58:56 -0000
@@ -105,10 +105,10 @@
// Note that we store fixed-length blocks here, not lines.
// One very long physical line could break up into more
// than one of these.
- textend->block = (char *)xmalloc(returned);
+ textend->block = (char *)malloc(returned);
textend->len = returned;
memcpy(textend->block, buf, returned);
- textend->next = (struct textblock *)xmalloc(sizeof(struct textblock));
+ textend->next = (struct textblock *)malloc(sizeof(struct textblock));
textend->next->block = (char *)NULL;
textend->next->len = 0;
textend = textend->next;
More information about the bogofilter-dev
mailing list