From: Iain Buclaw Date: Sat, 16 May 2020 20:32:17 +0000 (+0200) Subject: libphobos: Fix struct layout of stat_t on sparc-*-solaris* X-Git-Tag: misc/first-auto-changelog-9~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=866f7405707dd2970868941635a32bd9197cd731;p=thirdparty%2Fgcc.git libphobos: Fix struct layout of stat_t on sparc-*-solaris* 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. --- diff --git a/libphobos/ChangeLog b/libphobos/ChangeLog index 67d02036def5..9a1f9e907237 100644 --- a/libphobos/ChangeLog +++ b/libphobos/ChangeLog @@ -1,3 +1,9 @@ +2020-05-16 Iain Buclaw + + 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 PR d/90718 diff --git a/libphobos/libdruntime/core/sys/posix/sys/stat.d b/libphobos/libdruntime/core/sys/posix/sys/stat.d index 9fc89270d480..f394823767dc 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;