[cvs] bogofilter/src fgetsl.c,1.4,1.5

Matthias Andree matthias.andree at gmx.de
Sat Feb 22 22:05:21 CET 2003


relson at users.sourceforge.net writes:

> Update of /cvsroot/bogofilter/bogofilter/src
> In directory sc8-pr-cvs1:/tmp/cvs-serv32106
>
> Modified Files:
> 	fgetsl.c 
> Log Message:
> When flex requests a single byte and gets none, it assumes EOF.
> fgetsl() needs to return a byte if it can.

What exactly is the case that this patch is supposed to fix? This change
looks bogus to me and seems to enable calling fgetsl to force 0-length
reads. Unless I'm mistaken, yyinput should request data without
'\0'-termination, so requesting 1 byte should work.

-- 
Matthias Andree




More information about the bogofilter-dev mailing list