On Tuesday 20 March 2007, Stephan Rose wrote:
I checked sizeof(off_t) and it correctly reports as 8-bytes, so I am not sure what the problem is and why this is happening. I know my system can handle files > 4 gigs....wine dumped 9 gigs of relay output onto my hard drive the first time I played with that debug channel =P
What is your system? What is the value of errno after the lseek call? Does calling lseek64 instead make any difference?
-Hans