Skip to content

Add support for LFS and time64#55

Open
guillemj wants to merge 6 commits intoFeh:masterfrom
guillemj:pu/large-api
Open

Add support for LFS and time64#55
guillemj wants to merge 6 commits intoFeh:masterfrom
guillemj:pu/large-api

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.

guillemj added 6 commits June 10, 2024 14:30
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

Comments