Further to bug report
David Luyer
david_luyer at pacific.net.au
Tue Jul 18 16:50:40 UTC 2000
Further to my report of problems under BSD/OS caused by a history file over 2G
in size, just to note, GNU libc on Linux uses "fseeko" and "ftello" to "correct
the POSIX interfaces" by using an off_t instead of a long.
Maybe the solution is to use these where available when a seek may be > 32
bits. They don't exist on BSD/OS but would be fairly simple to implement,
and less of a change than moving to fgetpos/fsetpos.
With that as well as the fix to qio.h to use an off_t rather than a long things
should be fine with big history files. (Well it seems fine now for me with a
move to fgetpos/fsetpos but that's not the cleanest or most portable solution.)
David.
--
----------------------------------------------
David Luyer
Senior Network Engineer
Pacific Internet (Aust) Pty Ltd
Phone: +61 3 9674 7525
Fax: +61 3 9699 8693
Mobile: +61 4 1064 2258, +61 4 1114 2258
http://www.pacific.net.au NASDAQ: PCNTF
<< fast 'n easy >>
----------------------------------------------
More information about the inn-bugs
mailing list