FRIDAY, APRIL 17, 2026
io — Proposed
io: Consolidate ftw implementation
This patch consolidates the ftw implementation by removing wordsize-64 and arch-specific implementations where off_t matches off64_t.
This patch consolidates the ftw implementation by removing wordsize-64 and arch-specific implementations for ABIs where off_t is the same as off64_t. The ftw.c implementation is moved to ftw-common.c to simplify the __OFF_T_MATCHES_OFF64_T usage. Upstream has approved the patch and requests that it be pushed.
Technical Tradeoffs
- Reduces code duplication by consolidating implementations.
- Simplifies maintenance by using a common implementation.
- Removes arch-specific implementations where off_t and off64_t are the same.