[PATCH] new patch to lexer.l, ignore my previous patch
Matthias Andree
matthias.andree at gmx.de
Fri Oct 25 02:37:24 CEST 2002
On Wed, 23 Oct 2002, Allyn Fratkin wrote:
> two slight bugs in the patch, (fixed with this patch), a base64 block
> can end in two = signs (not just one, depends on data length), and that
> pesky CR needs to be taken into account for heterogeneous system folks.
I modified the new fgetsnonull function to kill the CR just before LF at
the end of a line, which should handle things safely on Unix, and
frankly, I don't care for DOS/Windows portability.
So we don't need to write \r?$ to our regexp rules, becase the lexer
will never see \r$ -- just $.
More information about the bogofilter-dev
mailing list