[PATCH v2 2/2] Define __STATFS_MATCHES_STATFS64

Alistair Francis alistair23@gmail.com
Wed Sep 25 22:58:00 GMT 2019


On Wed, Sep 25, 2019 at 12:38 AM Andreas Schwab <schwab@suse.de> wrote:
>
> On Sep 24 2019, Alistair Francis <alistair.francis@wdc.com> wrote:
>
> >       * sysdeps/unix/sysv/linux/generic/bits/statfs.h: Define
> >       __STATFS_MATCHES_STATFS64 to handle 64-bit __fsblkcnt_t
> >       and t__fsfilcnt_t types on 32-bit hosts.
>
> The patch doesn't do that though.  It uses it, but doesn't define it.

There are currently no 32-bit hosts with 64-bit time_t in glibc. This
patch is in preparation of the RV32 series/other y2038 safe archs.

Alistair

>
> Andreas.
>
> --
> Andreas Schwab, SUSE Labs, schwab@suse.de
> GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
> "And now for something completely different."



More information about the Libc-alpha mailing list