summaryrefslogtreecommitdiff
path: root/numpy/lib/function_base.py
diff options
context:
space:
mode:
authorPavel Potocek <pavelpotocek@gmail.com>2016-12-03 17:29:04 +0100
committerPavel Potocek <pavelpotocek@gmail.com>2016-12-04 19:00:19 +0100
commit17c32ac75868b27780c15c4ff52c2403b63fdbc9 (patch)
treef0fffd43c02dbefe9da138202ead6b2d8b314612 /numpy/lib/function_base.py
parenta4dca241647a31a4313238fa183b67e453c1de0f (diff)
downloadnumpy-17c32ac75868b27780c15c4ff52c2403b63fdbc9.tar.gz
BUG: numpy.ndarray.tofile creates a corrupt file for large arrays in append file mode
Fixes by using the flag `FALLOC_FL_KEEP_SIZE` (=1) in the `fappend` call. Fixes #8329
Diffstat (limited to 'numpy/lib/function_base.py')
0 files changed, 0 insertions, 0 deletions