Hi,

The last change to the bindings removed the st_pad3 field from the wrong
struct.  It should have been stat64_t that needed updating instead.

Patch backported from r10-8066, committed to gcc-9 branch.

Iain.

---
libphobos/ChangeLog

        PR d/90719
        * libdruntime/core/sys/posix/sys/stat.d (Solaris): Move st_pad3 from
        struct stat64_t to stat32_t.
---
 libphobos/libdruntime/core/sys/posix/sys/stat.d | 2 +-
 1 file changed, 1 insertions(+), 1 deletion(-)

diff --git a/libphobos/libdruntime/core/sys/posix/sys/stat.d 
b/libphobos/libdruntime/core/sys/posix/sys/stat.d
index 9fc89270d48..f394823767d 100644
--- a/libphobos/libdruntime/core/sys/posix/sys/stat.d
+++ b/libphobos/libdruntime/core/sys/posix/sys/stat.d
@@ -1314,6 +1314,7 @@ else version (Solaris)
             dev_t st_rdev;
             c_long[2] st_pad2;
             off_t st_size;
+            c_long st_pad3;
             union
             {
                 timestruc_t st_atim;
@@ -1347,7 +1348,6 @@ else version (Solaris)
             dev_t st_rdev;
             c_long[2] st_pad2;
             off64_t st_size;
-            c_long st_pad3;
             union
             {
                 timestruc_t st_atim;
-- 
2.20.1

Reply via email to