]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
file_truncate(): Backported 2.3 code so that file.truncate(n) works on
authorTim Peters <tim.peters@gmail.com>
Wed, 30 Apr 2003 19:24:59 +0000 (19:24 +0000)
committerTim Peters <tim.peters@gmail.com>
Wed, 30 Apr 2003 19:24:59 +0000 (19:24 +0000)
commitfa90c3e468d2b112745f984a9881f944f407f18f
treec224f94504992fb0b8dee3ad1fce37b285cff4c6
parent594d4c5581ad053a6fb6485ff802fc8359d0cd39
file_truncate():  Backported 2.3 code so that file.truncate(n) works on
Windows when n is too big to fit in a 32-bit int.  This was a hole in
2.2's large file support on Windows, and turns out it's a bad hole at
least for ZODB.
Lib/test/test_largefile.py
Misc/NEWS
Objects/fileobject.c