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

gdc-bugzilla at gdcproject.org gdc-bugzilla at gdcproject.org
Mon Sep 24 07:58:29 PDT 2012


http://gdcproject.org/bugzilla/show_bug.cgi?id=5

             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 at gdcproject.org
        ReportedBy: johannespfau at 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
definition.

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.


More information about the D.gnu mailing list