0.14.3
David Relson
relson at osagesoftware.com
Thu Aug 7 17:12:39 CEST 2003
At 10:34 AM 8/7/03, Clint Adams wrote:
> > In bogofilter-0.14.3.tar.gz, configure.ac has "AC_INIT(bogofilter,
> > 0.14.3)", so the tarball has the right version label. What's in your
> > configure.ac?
>
>0.14.3.
>
>d37faea897d4f271f00d27b850dd917e bogofilter-0.14.3.tar.gz
>
>% grep cvs bogofilter-0.14.3/src/version.c
>const char * const version = "0.14.2.cvs.20030804";
Ah! You have Matthias' emergency release, which had an old
version.c. When I built the rpms, I uploaded them and the .tar.gz file. I
guess I erred in not changing to 0.14.3.1.
Here's the official md5sum:
02bdf019f249a1bb4d97af6fa68a3ccd
/home/relson/bogofilter/0143-rel/bogofilter-0.14.3.tar.gz
> > There's also the change in behavior of %never-interactive in
> > flex-2.5.31. Have you any info as to why it's changed? Was flex-2.5.4
> > broken or is flex-2.5.31 broken?
>
>No, do you have a small test case?
Yes. It displays lines being read, functions called from the rules, and
tokens returned. When built with flex-2.5.4 and flex-2.5.31 and then run,
the outputs show different ordering of data reading and functions called.
File test.flex.tgz is attached. Script tst assumes that the two versions
of flex are available as flex-254 and flex-2532. Running "tst 1" will
build the program with both flex version, run it with saved output, and
diff the outputs.
A more complex lexer and test case are needed to illustrate _why_ the order
difference causes trouble. The trouble I initially noticed was than
"Return-path:" header lines weren't generating special "rtrn:xxx"
tokens. The reason was that the msg_header flag was in "body" state, when
it should have been "header" state. The reason for _that_ was the
different order of operations (reading and parsing) described above. If
needed, I can put together a fuller parser and test program to show these
effects.
David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.flex-2531.tgz
Type: application/x-compressed
Size: 1109 bytes
Desc: not available
URL: <https://www.bogofilter.org/pipermail/bogofilter-dev/attachments/20030807/21e6fb6e/attachment.bin>
More information about the bogofilter-dev
mailing list