dmd 1.041 and 2.026 releases

wade swadenator at gmail.com
Sat Mar 7 08:30:39 PST 2009


I believe the problem relates to calls to lseek in stream.d (multiple places, e.g. class File: line 1981):

Unlike standard posix, darwin uses a 64bit offset by default so this line causes issues:

  ulong result = lseek(hFile, cast(int)offset, rel);

Here's a link to this problem:

http://www.opendarwin.info/opendarwin.org/en/faq/ch04.html#lseek

There's some discussion about this on the bugs list.

wade

Walter Bright Wrote:

> wade wrote:
> > I don't see this in the change logs but does this version fix the
> > MacOS seek problem (issue 2689)?
> 
> No. Would you like to take a look at figuring out what's wrong?



More information about the Digitalmars-d-announce mailing list