From: Iain Buclaw Date: Mon, 27 Apr 2020 21:40:48 +0000 (+0200) Subject: libphobos: Fix struct layout of stat32_t on sparc-*-solaris* X-Git-Tag: misc/first-auto-changelog-9~79 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1f0eba390fb5f887874e37a1f626eeab4ad55a44;p=thirdparty%2Fgcc.git libphobos: Fix struct layout of stat32_t on sparc-*-solaris* Solaris 11 has: struct stat { ... #if _FILE_OFFSET_BITS != 64 long st_pad3; #endif ... }; In the extern(C) core.sys bindings, st_pad3 is included in the non-largefie version of struct stat when it shouldn't be. libphobos/ChangeLog: PR d/90719 * libdruntime/core/sys/posix/sys/stat.d (Solaris): Remove st_pad3 from struct stat32_t. --- diff --git a/libphobos/ChangeLog b/libphobos/ChangeLog index 569a3c91ab25..af379c8c4c5d 100644 --- a/libphobos/ChangeLog +++ b/libphobos/ChangeLog @@ -1,3 +1,9 @@ +2020-04-27 Iain Buclaw + + PR d/90719 + * libdruntime/core/sys/posix/sys/stat.d (Solaris): Remove st_pad3 from + struct stat32_t. + 2020-03-12 Release Manager * GCC 9.3.0 released. diff --git a/libphobos/libdruntime/core/sys/posix/sys/stat.d b/libphobos/libdruntime/core/sys/posix/sys/stat.d index 76e4460550df..9fc89270d480 100644 --- a/libphobos/libdruntime/core/sys/posix/sys/stat.d +++ b/libphobos/libdruntime/core/sys/posix/sys/stat.d @@ -1314,7 +1314,6 @@ 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;