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

BUG: Use large file fallocate on 32 bit linux platforms #25630

Merged
merged 1 commit into from Jan 24, 2024

Conversation

snogge
Copy link
Contributor

@snogge snogge commented Jan 19, 2024

Using a local prototype for fallocate instead of the fcntl.h header meant that the redirect triggered by -D_FILE_OFFSET_BITS=64 was not triggered.

The prototypes in feature_detection_stdio.h should only be used by functions in setup_common.py. If they are used by the feature discovery code they might trigger false positives.

A similar but not identical PR #25631 has been pushed for master.

Using a local prototype for fallocate instead of the fcntl.h header
meant that the redirect triggered by -D_FILE_OFFSET_BITS=64 was not
triggered.

The prototypes in feature_detection_stdio.h should only be used by
functions in setup_common.py. If they are used by the feature
discovery code they might trigger false positives.
@ngoldbaum
Copy link
Member

Closing this, we’ll review the PR to main and if that gets merged do a backport afterwards per our normal process.

@ngoldbaum ngoldbaum closed this Jan 19, 2024
@mattip mattip reopened this Jan 24, 2024
@ngoldbaum ngoldbaum added the 08 - Backport Used to tag backport PRs label Jan 24, 2024
@mattip
Copy link
Member

mattip commented Jan 24, 2024

This is the backport of #25631 which was merged after triage discussion.

@charris charris merged commit dc12cf1 into numpy:maintenance/1.26.x Jan 24, 2024
108 of 110 checks passed
@charris
Copy link
Member

charris commented Jan 24, 2024

Thanks @snogge .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
00 - Bug 08 - Backport Used to tag backport PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants