aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2021-12-26 15:24:53 +0900
committerStafford Horne <shorne@gmail.com>2021-12-31 07:10:19 +0900
commit4dfa8f4870c862540bd9b09130a68664d45f1569 (patch)
treed777f42db0649f069ab798cb5a09e1fe50a33e5f /sysdeps/mach
parentc21c7bc24ec58c516d1608695d9c5a86f2f2fc0c (diff)
downloadglibc-4dfa8f4870c862540bd9b09130a68664d45f1569.tar
glibc-4dfa8f4870c862540bd9b09130a68664d45f1569.tar.gz
glibc-4dfa8f4870c862540bd9b09130a68664d45f1569.tar.bz2
glibc-4dfa8f4870c862540bd9b09130a68664d45f1569.zip
open64: Force O_LARGEFILE on all architectures
When running tests on OpenRISC which has 32-bit wordsize but 64-bit timesize it was found that O_LARGEFILE is not being set when calling open64. For 64-bit architectures the O_LARGEFILE flag is generally implied by the kernel according to force_o_largefile. However, for 32-bit architectures this is not done. For this patch we unconditionally now set the O_LARGEFILE flag for open64 class syscalls as there is no harm in doing so. Tested on the OpenRISC the build works and timezone/tst-tzset passes which was failing before. I would expect this also would fix arc. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/mach')
0 files changed, 0 insertions, 0 deletions