Skip to content
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

Fix use of 64-bit off_t on 32-bit systems #17

Open
rrthomas opened this issue Dec 2, 2022 · 0 comments
Open

Fix use of 64-bit off_t on 32-bit systems #17

rrthomas opened this issue Dec 2, 2022 · 0 comments

Comments

@rrthomas
Copy link
Owner

rrthomas commented Dec 2, 2022

Currently this causes a compilation failure. One solution that would not complicate the relevant trap ABIs (LIBC_LSEEK, LIBC_RESIZE_FILE, LIBC_FILE_SIZE) would be to check return values from system calls and throw an error if the offset cannot be represented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant