www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Issue 5] New: std.file: struct_stat64 wrong for ARM


             Bug #: 5
           Summary: std.file: struct_stat64 wrong for ARM
    Classification: Unclassified
           Product: GDC
           Version: development
          Platform: ARM
        OS/Version: Linux
            Status: NEW
          Severity: trivial
          Priority: Normal
         Component: libgphobos
        AssignedTo: ibuclaw gdcproject.org
        ReportedBy: johannespfau gmail.com

The struct_stat64 declaration forces align(4) on st_size. This is wrong for
ARM, I wonder if it's actually correct for x86? Should be trivial to fix, but
std.file probably should define this struct at all. It should use
core.sys.posix.sys.stat instead, which currently does not have a struct_stat64

Filed here, so it won't be forgotten.

Configure issuemail: http://gdcproject.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all issue changes.
Sep 24 2012