www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22822] New: core.sys.posix.sys.stat: PPC stat_t bindings

https://issues.dlang.org/show_bug.cgi?id=22822

          Issue ID: 22822
           Summary: core.sys.posix.sys.stat: PPC stat_t bindings corrupt
           Product: D
           Version: D2
          Hardware: PowerPC
                OS: Linux
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: ibuclaw gdcproject.org

The bindings in druntime seem to have omitted all padding that exists in the
stat_t bindings for linux/PPC, and uses c_ulong instead of dev_t, blkcnt_t,
etc... for all fields.

--
Feb 25 2022