8000 Replace off64_t with off_t and add largefile support knob by kraj · Pull Request #230 · strace/strace · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Replace off64_t with off_t and add largefile support knob #230

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kraj
Copy link
Contributor
@kraj kraj commented Dec 16, 2022

No description provided.

@ldv-alt
Copy link
Member
ldv-alt commented Dec 18, 2022

This change breaks at least mpers tests because the same config.h is used to compile both native and -m32 tests.

Copy link
Member
@ldv-alt ldv-alt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure it's the right approach, but anyway, the test suite should pass.

kraj added 2 commits June 6, 2025 18:42
Adds --enable-largefile/--disable-largefile configure knobs
where default is to detect the support

Signed-off-by: Khem Raj <raj.khem@gmail.com>
when _FILE_OFFSET_BITS=64 then off_t is 64bit wide, this also fixes
build on musl where off64_t is not available without _LARGEFILE64_SOURCE

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0