Bug 22822 – core.sys.posix.sys.stat: PPC stat_t bindings corrupt

Status
RESOLVED
Resolution
FIXED
Severity
blocker
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
PowerPC
OS
Linux
Creation time
2022-02-25T09:15:35Z
Last change time
2022-02-25T13:07:34Z
Keywords
pull
Assigned to
No Owner
Creator
Iain Buclaw

Comments

Comment #0 by ibuclaw — 2022-02-25T09:15:35Z
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.
Comment #1 by dlang-bot — 2022-02-25T12:16:06Z
@ibuclaw created dlang/druntime pull request #3762 "fix Issue 22822 - core.sys.posix.sys.stat: PPC stat_t bindings corrupt" fixing this issue: - fix Issue 22822 - core.sys.posix.sys.stat: PPC stat_t bindings corrupt https://github.com/dlang/druntime/pull/3762
Comment #2 by dlang-bot — 2022-02-25T13:07:34Z
dlang/druntime pull request #3762 "fix Issue 22822 - core.sys.posix.sys.stat: PPC stat_t bindings corrupt" was merged into master: - 745e81a45a2b4139d94b9b11ecaa071ad4481331 by Iain Buclaw: fix Issue 22822 - core.sys.posix.sys.stat: PPC stat_t bindings corrupt https://github.com/dlang/druntime/pull/3762