Skip to content

Restore enabling Large File Support when building directory tools #150

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

Closed

Conversation

ala-ableton
Copy link

See commit message for more details.

It might make sense to extract the 43 lines that are then duplicated between src/directory.cpp and src/operations.cpp to a separate file, but I'll let the maintainers decide.

Up until c758552, directory tools were
in src/operations.cpp, which defines _FILE_OFFSET_BITS=64 at its very
top. This meant that POSIX system calls, such as opendir and readdir,
were built with Large File Support enabled.

In c758552, directory tools were moved
to src/directory.cpp, which didn't define _FILE_OFFSET_BITS=64.
@Lastique Lastique closed this in 1104092 Jul 2, 2020
@Lastique
Copy link
Member

Lastique commented Jul 2, 2020

I've made a larger fix for this. Thanks for the report.

@ala-ableton
Copy link
Author

@Lastique thanks for the quick fix!

@ala-ableton ala-ableton deleted the restore-LFS-in-directory-tools branch July 5, 2020 19:16
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.

2 participants