[all-commits] [llvm/llvm-project] eaa07c: [libc] Fix statvfs test case when SYS_statfs64 is ...
Mikhail R. Gadelha via All-commits
all-commits at lists.llvm.org
Sun Jul 21 17:21:26 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: eaa07c00b10b2105fabed61a95d2a5e0971bc02e
https://github.com/llvm/llvm-project/commit/eaa07c00b10b2105fabed61a95d2a5e0971bc02e
Author: Mikhail R. Gadelha <mikhail at igalia.com>
Date: 2024-07-21 (Sun, 21 Jul 2024)
Changed paths:
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/riscv/headers.txt
M libc/test/src/sys/statvfs/linux/fstatvfs_test.cpp
M libc/test/src/sys/statvfs/linux/statvfs_test.cpp
Log Message:
-----------
[libc] Fix statvfs test case when SYS_statfs64 is used (#99827)
When SYS_statfs64 is used, struct statfs64 is used instead of struct statfs. This patch adds a define to select the appropriate struct, similar to how it's done internally.
This patch also enables fstatvfs and statvfs on riscv, which would not be compiled without this change.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list