]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Add a special case code to deal with unexpected large files.
authorJeremy Hylton <jeremy@alum.mit.edu>
Tue, 18 Jun 2002 16:53:42 +0000 (16:53 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Tue, 18 Jun 2002 16:53:42 +0000 (16:53 +0000)
commit3ab1798f24d3caba36611b37a05a75542e5e2107
treea7d866cd133485ee36527e5a150034a3f1d554aa
parent62fbb233a2378216c54af820b16d902c68d28492
Add a special case code to deal with unexpected large files.

# On a Linux with large file support (LFS) using a Python without LFS,
# stat() will raise EOVERFLOW.  This unambiguously indicates that the
# file exists because it only occurs when the size of the file can't
# find into the stat struct.

This change is only needed for Python 2.1, because LFS is
automatically configured starting with Python 2.2.
Lib/posixpath.py