aboutsummaryrefslogtreecommitdiff
path: root/malloc/alloc_buffer_alloc_array.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-10-19 19:14:04 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-10-25 16:13:11 -0300
commit7b7dfbb0cbdffebf0233c650627a4861212fbb60 (patch)
tree8871cf9324c5e6d9bcb7cd146f554d30627794fd /malloc/alloc_buffer_alloc_array.c
parent9273b2d0e93e7355656cad3be3a1ca76489df483 (diff)
downloadglibc-7b7dfbb0cbdffebf0233c650627a4861212fbb60.tar.xz
glibc-7b7dfbb0cbdffebf0233c650627a4861212fbb60.zip
linux: Fix generic struct_stat for 64 bit time (BZ# 29657)
The generic Linux struct_stat misses the conditionals to use bits/struct_stat_time64_helper.h in the __USE_TIME_BITS64 for architecture that uses __TIMESIZE == 32 (currently csky and nios2). Since newer ports should not support 32 bit time_t, the generic implementation should be used as default. For arm, hppa, and sh a copy of default struct_stat is added, while for csky and nios a new one based on generic is used, along with conditionals to use bits/struct_stat_time64_helper.h. The default struct_stat is also replaced with the generic one. Checked on aarch64-linux-gnu and arm-linux-gnueabihf. (cherry picked from commit 7a6ca82f8007ddbd43e2b8fce806ba7101ee47f5)
Diffstat (limited to 'malloc/alloc_buffer_alloc_array.c')
0 files changed, 0 insertions, 0 deletions