uniover > 2GB

Russ Allbery rra at stanford.edu
Mon Apr 10 07:40:54 UTC 2000


Oliver Blasnik <ob at omnilink.net> writes:

> today was _the_ Day. Our Uniover-file got the 2GB-Limit and inn2.2.1
> didn't do how it should.

> First, the mmap-based uniover failed. "Ok", I thought, "possiby a
> FreeBSD-Bug" (running 3.1-release). But it wasn't :( Feeding did, nnrpd
> not.

> After several debugging-sessions I encountered, that storage/overview.c
> tries to do a fseek() like:

> []  if (fseek(config->fp, token->offset, SEEK_SET) == -1)

> Unfornutaly token->offset is defined as "long", and so fseek() did an
> negative seek, which is not really nice with SEEK_SET :)

Thanks for the report.  INN now automatically redefines fseek() to be
fseeko() on platforms that have that function, which should solve this
problem.

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



More information about the inn-bugs mailing list