diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-09-10 20:49:15 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-09-10 20:49:15 (GMT) |
commit | 4f4f4d70af3197cfedb41ae62eab37f3dc52e11a (patch) | |
tree | 467551742c79bc6f67687cbb76ed90fd2d0e3a5b /Mac/Distributions | |
parent | a0d183363971887a29d176d52c35275eb9a014f0 (diff) | |
download | cpython-4f4f4d70af3197cfedb41ae62eab37f3dc52e11a.zip cpython-4f4f4d70af3197cfedb41ae62eab37f3dc52e11a.tar.gz cpython-4f4f4d70af3197cfedb41ae62eab37f3dc52e11a.tar.bz2 |
A few days ago a test was added here to ensure that creating an mmap
with a size larger than the underlying file worked on Windows. It
does <wink>. However, merely creating an mmap that way has the side
effect of growing the file on disk to match the specified size. A
*later* test assumed that the file on disk was still exactly as it was
before the new "size too big" test was added, but that's no longer true.
So added a hack at the end of the "size too big" test to truncate the
disk file back to its original size on Windows.
Diffstat (limited to 'Mac/Distributions')
0 files changed, 0 insertions, 0 deletions