struct stat is not posix conformant on microblaze with __USE_FILE_OFFSET64
commit794c27446fd735526d9d782478edd1141b10e3ab
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Mon, 25 Jul 2022 09:25:15 +0000 (25 11:25 +0200)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 25 Jul 2022 14:06:49 +0000 (25 11:06 -0300)
treedfa7258a5087a3a9ed6d6f956e3212a1d7f5f7f7
parent0c5605989f72457b50e4eccad3e99a28929d89ba
struct stat is not posix conformant on microblaze with __USE_FILE_OFFSET64

Commit a06b40cdf5ba0d2ab4f9b4c77d21e45ff284fac7 updated stat.h to use
__USE_XOPEN2K8 instead of __USE_MISC to add the st_atim, st_mtim and
st_ctim members to struct stat. However, for microblaze, there are two
definitions of struct stat, depending on the __USE_FILE_OFFSET64 macro.
The second one was not updated.

Change __USE_MISC to __USE_XOPEN2K8 in the __USE_FILE_OFFSET64 version
of struct stat for microblaze.
sysdeps/unix/sysv/linux/microblaze/bits/struct_stat.h