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

Add support for LFS and time64 #55

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

Conversation

guillemj
Copy link

This PR shuffles things around so that the function wrappers are isolated into their own module, to avoid being affected by the system stdio API declarations from the header. This way we can build with LFS and time64 support with no interference.

The test suite seems to pass, but I've not done further checks. It fixes the build failures seen in Debian, after its transition to enable LFS and time64 by default.

This will make it possible to call it from multiple modules with no code
repetition and no need to expose the stdio API.
This way we do not need to expose the stdio API to the wrappers.
We will need this once we split the wrappers into its own module.
This avoids polluting the module with system includes that can affect
how the wrapping function declarations are done, via remapping or
aliases that are outside our control.

This fixes building the project with LFS and time64 support enable.

Fixes: Feh#54
This makes the project LFS and time64 aware so that it will internally
call the large APIs, and avoid failing due to files with large inode
numbers, or stat structures with large time values for example.

Fixes: Feh#26
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

Successfully merging this pull request may close these issues.

1 participant