This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2 2/2] time: Add padding for the timespec if required
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Alistair Francis <alistair dot francis at wdc dot com>
- Cc: <libc-alpha at sourceware dot org>, <alistair23 at gmail dot com>
- Date: Mon, 30 Sep 2019 15:26:33 +0000
- Subject: Re: [PATCH v2 2/2] time: Add padding for the timespec if required
- Ironport-sdr: ZKv9cD5P2Oly4kSO+TlPAYXWQ6T4ZGS57QKS7t+xfN+DkD6epE1E9mncB4KKyzORxVsqznQI8V v1DDXqVAnKvqj+oR3hPadMTZlj7DKhX9yJDcot4Q6Rve5ow5kct2Nidjw8t92KLXvUCEhMpBh+ xcEvXqgilWkSU55jZurdvvEYkG/mHHQwoUy032OlTzXCld61yT9Nj99Fau+nuDvWfp/ov47aqo vCaSqm+o//uc3OsxaGv0Vw7q6KFN6kBbQDxD4b4CtMLjMezstghDVQKfgXZoBZ7vcVoSFVXWN0 iX0=
- Ironport-sdr: omA2BS/zDpCIAmqCi3TQr9zgVQ1MfwcdXJmaOs7uMLxLJ+C+OkjoYEY+xXpynezFZm6HLtl7HI uWTXKl6NKLXScf0PflF/JRbHDNUWMPOiRKaePQDCdFS2QKxDNlrC+esIximB7hajsJztg7KbDJ EH/PslvaEILQuhGFqGZ2Iu1FsOTz2oDslfplL5P0HjK+IttMUZrrMibb7WbWV0+28zZTi4iIZu uMb2lh1elVGYZx89tRz40s08+0MR7RAYFubONNeZoYcSVuziVklMagBjKqNHOCJR0L+xCAhwPi MuY=
- References: <20190927234133.1046-1-alistair.francis@wdc.com> <20190927234133.1046-2-alistair.francis@wdc.com>
On Fri, 27 Sep 2019, Alistair Francis wrote:
> If we are running on a 32-bit system with a 64-bit time_t we need to
> ensure there is padding around the tv_nsec variable. This is requried as
> the timespec is #defined to the __timespec64 struct.
>
> 2019-09-20 Alistair Francis <alistair.francis@wdc.com>
>
> * time/bits/types/struct_timespec.h: Add padding for the timespec if
> required.
> ---
> v2:
> - Fix style issues
This patch is OK once the endian changes are in.
--
Joseph S. Myers
joseph@codesourcery.com