8000 BUG: Use large file fallocate on 32 bit linux platforms by snogge · Pull Request #25630 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

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
@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.

4 participants

0