Version (X86_64) for struct_stat64 on Linux x86_64

Simen kjaeraas simen.kjaras at gmail.com
Tue Dec 28 17:32:53 PST 2010


Chuck Blake <cb at mit.edu> wrote:

> Hi.  I realize that 64-bit phobos is relatively work in progress.  I  
> thought
> I'd contribute.  struct_stat64 is broken on Linux x86_64 which further  
> breaks
> an awful lot of file IO.  I have a small patch that fixes it.  I tested  
> this
> with gdc 2.051 within gcc-4.5.2, with an attached program and comparing  
> to the
> output from the 'stat' utility.  It is so basic and logic-free that I
> seriously doubt environmental considerations matter.  This doesn't  
> completely
> fix file IO, but it at least gives it a running chance.  I can read files
> under 8MB, for example. :)

This is an automated newsgroup. Please post to digitalmars.D or
digitalmars.D.learn, or file your issue in BugZilla. For this specific
problem, you might also consider joining the Phobos mailing list at
http://lists.puremagic.com/mailman/listinfo/

-- 
Simen


More information about the Digitalmars-d-bugs mailing list