]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libphobos: Fix struct layout of stat_t on sparc-*-solaris*
authorIain Buclaw <ibuclaw@gdcproject.org>
Sat, 16 May 2020 20:32:17 +0000 (22:32 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Sat, 16 May 2020 20:32:17 +0000 (22:32 +0200)
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.

libphobos/ChangeLog

PR d/90719
* libdruntime/core/sys/posix/sys/stat.d (Solaris): Move st_pad3 from
struct stat64_t to stat32_t.

libphobos/ChangeLog
libphobos/libdruntime/core/sys/posix/sys/stat.d

index 67d02036def51d1f588316529d533d795598030c..9a1f9e907237924ae4de2477ecf635d053a21c53 100644 (file)
@@ -1,3 +1,9 @@
+2020-05-16  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       PR d/90719
+       * libdruntime/core/sys/posix/sys/stat.d (Solaris): Move st_pad3 from
+       struct stat64_t to stat32_t.
+
 2020-04-27  Iain Buclaw  <ibuclaw@gdcproject.org>
 
        PR d/90718
index 9fc89270d480b82617bd3db5cf0461f4648596aa..f394823767dc79aab12688d603aa104260396e08 100644 (file)
@@ -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;