[cvs] bogofilter bogoutil.c,1.62,1.63

Matthias Andree matthias.andree at gmx.de
Wed Jan 29 13:48:44 CET 2003


relson at users.sourceforge.net writes:

> Update of /cvsroot/bogofilter/bogofilter
> In directory sc8-pr-cvs1:/tmp/cvs-serv29618
>
> Modified Files:
> 	bogoutil.c 
> Log Message:
> Use size_t for token counts in robx calculations.

Hum, *shrug* while I've taken part in this game (for functions that take
size_t for a count), the GENERAL use of size_t for counters seems not
desirable. size_t describes object sizes in POSIX, and seems adequate
for file I/O or some syscalls when the count actually maps to the size
of a single object, but as the token is not a (char), size_t is not the
first choice.

But that's cleanup stuff for later, maybe 0.12 or 0.13.

-- 
Matthias Andree




More information about the bogofilter-dev mailing list