Accessing File > 4gb problem (was: Debugging Supreme Commander)

Stephan Rose kermos at
Tue Mar 20 05:17:51 CDT 2007

The system is a 2.4GHz Core Duo.

lseek64 makes no difference, that was among the first things I tried.
I didn't think to check errno yet though but I will do so when I get home
from the office. 


-----Original Message-----
From: Hans Leidekker [mailto:hans at] 
Sent: Tuesday, March 20, 2007 11:11
To: Stephan Rose
Cc: wine-devel at
Subject: Re: Accessing File > 4gb problem (was: Debugging Supreme Commander)

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 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?


More information about the wine-devel mailing list