Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BUG: Fix ndarray.tofile large file corruption in append mode. #8339

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

Merged
merged 1 commit into from
Dec 5, 2016

Conversation

charris
Copy link
Member

@charris charris commented Dec 5, 2016

Backport of #8335.

Fixes by using the flag FALLOC_FL_KEEP_SIZE (=1) in the fappend call.

Fixes #8329

…append file mode

Fixes by using the flag `FALLOC_FL_KEEP_SIZE` (=1) in the `fappend` call.

Fixes numpy#8329
@charris charris added this to the 1.12.0 release milestone Dec 5, 2016
@charris charris changed the title BUG: numpy.ndarray.tofile creates a corrupt file for large arrays in … BUG: Fix ndarray.tofile large file corruption in append mode. Dec 5, 2016
@charris charris merged commit 4876f24 into numpy:maintenance/1.12.x Dec 5, 2016
@charris charris deleted the backport-8335 branch December 5, 2016 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants