[inn-current] 2 possible bugs in cnfs.c, 1 patch

Russ Allbery rra at stanford.edu
Fri Jan 9 19:11:14 UTC 2004

Christophe Wolfhugel <wolf at oleane.net> writes:

> Possible bug #1.
>   I was wondering why my 16 GB cyclic buffers were cycling at 4 GB.
>   I do believe this is because of a cast off_t -> size_t which with
>   largefiles enabled is not adequate.

>   See 1st chunk of the attached proposed patch (change the cast).

> Possible bug #2.

>   The CNFS "moving" syslog message was incorrectly logging the old
>   buffer name (the one the cycbuff is being moved from) :

>     Jan  9 10:15:59 s4 innd: CNFS-sm: metacycbuff BIN cycbuff is
>     moved to BIN02 remain calm

>   See 2nd chunk of the attached patch (syslog line moved down).

Could you send me the patch separately or include it inline in your
message?  The list manager we use is really stupid.

Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>

    Please send questions to the list rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.

More information about the inn-workers mailing list