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

Stephan Rose kermos at somrek.net
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. 

Stephan



-----Original Message-----
From: Hans Leidekker [mailto:hans at it.vu.nl] 
Sent: Tuesday, March 20, 2007 11:11
To: Stephan Rose
Cc: wine-devel at winehq.org
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 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




More information about the wine-devel mailing list