Staging
v0.8.1
https://github.com/python/cpython
Revision b855216099771117388fdf38df80e5214e812955 authored by Guido van Rossum on 05 September 2001, 14:58:11 UTC, committed by Guido van Rossum on 05 September 2001, 14:58:11 UTC
I believe this works on Linux (tested both on a system with large file
support and one without it), and it may work on Solaris 2.7.

The changes are twofold:

(1) The configure script now boldly tries to set the two symbols that
    are recommended (for Solaris and Linux), and then tries a test
    script that does some simple seeking without writing.

(2) The _portable_{fseek,ftell} functions are a little more systematic
    in how they try the different large file support options: first
    try fseeko/ftello, but only if off_t is large; then try
    fseek64/ftell64; then try hacking with fgetpos/fsetpos.

I'm keeping my fingers crossed.  The meaning of the
HAVE_LARGEFILE_SUPPORT macro is not at all clear.

I'll see if I can get it to work on Windows as well.
1 parent 2f0047a
History
Tip revision: b855216099771117388fdf38df80e5214e812955 authored by Guido van Rossum on 05 September 2001, 14:58:11 UTC
Changes to automatically enable large file support on some systems.
Tip revision: b855216
File Mode Size
.cvsignore -rw-r--r-- 17 bytes
abstract.c -rw-r--r-- 38.0 KB
bufferobject.c -rw-r--r-- 11.1 KB
cellobject.c -rw-r--r-- 2.3 KB
classobject.c -rw-r--r-- 54.0 KB
cobject.c -rw-r--r-- 3.6 KB
complexobject.c -rw-r--r-- 21.0 KB
descrobject.c -rw-r--r-- 23.0 KB
dictobject.c -rw-r--r-- 47.7 KB
fileobject.c -rw-r--r-- 34.2 KB
floatobject.c -rw-r--r-- 20.3 KB
frameobject.c -rw-r--r-- 11.8 KB
funcobject.c -rw-r--r-- 14.0 KB
intobject.c -rw-r--r-- 24.3 KB
iterobject.c -rw-r--r-- 5.8 KB
listobject.c -rw-r--r-- 44.3 KB
longobject.c -rw-r--r-- 51.6 KB
methodobject.c -rw-r--r-- 7.1 KB
moduleobject.c -rw-r--r-- 5.4 KB
object.c -rw-r--r-- 43.1 KB
obmalloc.c -rw-r--r-- 22.2 KB
rangeobject.c -rw-r--r-- 6.9 KB
sliceobject.c -rw-r--r-- 4.4 KB
stringobject.c -rw-r--r-- 83.8 KB
tupleobject.c -rw-r--r-- 14.4 KB
typeobject.c -rw-r--r-- 82.8 KB
unicodectype.c -rw-r--r-- 8.6 KB
unicodeobject.c -rw-r--r-- 129.0 KB
unicodetype_db.h -rw-r--r-- 37.0 KB
xxobject.c -rw-r--r-- 2.4 KB

back to top