summaryrefslogtreecommitdiff
path: root/Mac/Python/macgetpath.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-09-10 13:34:12 +0000
committerGuido van Rossum <guido@python.org>2001-09-10 13:34:12 +0000
commit47f40343b304cbd92dec796cdb2b647743a95c01 (patch)
tree67d6c78ed6005dc167d90acca3ca3c6d77eca413 /Mac/Python/macgetpath.c
parentfda30588273598faf7899791d832d90ae6f7cf73 (diff)
downloadcpython-git-47f40343b304cbd92dec796cdb2b647743a95c01.tar.gz
Change the criteria for skipping the test.
If on Windows, we require the 'largefile' resource. If not on Windows, we use a test that actually writes a byte beyond the 2BG limit -- seeking alone is not sufficient, since on some systems (e.g. Linux with glibc 2.2) the sytem call interface supports large seek offsets but not all filesystem implementations do. Note that on Windows, we do not use the write test: on Win2K, that test can take a minute trying to zero all those blocks on disk, and on Windows our code always supports large seek offsets (but again, not all filesystems do). This may mean that on Win95, or on certain other backward filesystems, test_largefile will *fail*.
Diffstat (limited to 'Mac/Python/macgetpath.c')
0 files changed, 0 insertions, 0 deletions