Staging
v0.5.1
v0.5.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
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.
Changes to automatically enable large file support on some systems.
Tip revision: b855216
File | Mode | Size |
---|---|---|
Python.h | -rw-r--r-- | 2.8 KB |
abstract.h | -rw-r--r-- | 33.7 KB |
bitset.h | -rw-r--r-- | 792 bytes |
bufferobject.h | -rw-r--r-- | 929 bytes |
cStringIO.h | -rw-r--r-- | 4.0 KB |
cellobject.h | -rw-r--r-- | 636 bytes |
ceval.h | -rw-r--r-- | 3.8 KB |
classobject.h | -rw-r--r-- | 2.1 KB |
cobject.h | -rw-r--r-- | 1.7 KB |
codecs.h | -rw-r--r-- | 3.3 KB |
compile.h | -rw-r--r-- | 2.9 KB |
complexobject.h | -rw-r--r-- | 1.4 KB |
descrobject.h | -rw-r--r-- | 1021 bytes |
dictobject.h | -rw-r--r-- | 4.2 KB |
errcode.h | -rw-r--r-- | 1.1 KB |
eval.h | -rw-r--r-- | 478 bytes |
fileobject.h | -rw-r--r-- | 1.1 KB |
floatobject.h | -rw-r--r-- | 1.7 KB |
frameobject.h | -rw-r--r-- | 3.0 KB |
funcobject.h | -rw-r--r-- | 1.7 KB |
graminit.h | -rw-r--r-- | 1.4 KB |
grammar.h | -rw-r--r-- | 2.0 KB |
import.h | -rw-r--r-- | 1.5 KB |
intobject.h | -rw-r--r-- | 2.2 KB |
intrcheck.h | -rw-r--r-- | 285 bytes |
iterobject.h | -rw-r--r-- | 404 bytes |
listobject.h | -rw-r--r-- | 1.8 KB |
longintrepr.h | -rw-r--r-- | 1.7 KB |
longobject.h | -rw-r--r-- | 4.0 KB |
marshal.h | -rw-r--r-- | 710 bytes |
metagrammar.h | -rw-r--r-- | 253 bytes |
methodobject.h | -rw-r--r-- | 2.0 KB |
modsupport.h | -rw-r--r-- | 3.3 KB |
moduleobject.h | -rw-r--r-- | 570 bytes |
node.h | -rw-r--r-- | 1006 bytes |
object.h | -rw-r--r-- | 24.1 KB |
objimpl.h | -rw-r--r-- | 11.6 KB |
opcode.h | -rw-r--r-- | 4.2 KB |
osdefs.h | -rw-r--r-- | 903 bytes |
parsetok.h | -rw-r--r-- | 927 bytes |
patchlevel.h | -rw-r--r-- | 1.2 KB |
pgenheaders.h | -rw-r--r-- | 1.3 KB |
py_curses.h | -rw-r--r-- | 3.5 KB |
pydebug.h | -rw-r--r-- | 891 bytes |
pyerrors.h | -rw-r--r-- | 5.1 KB |
pyfpe.h | -rw-r--r-- | 8.3 KB |
pygetopt.h | -rw-r--r-- | 323 bytes |
pymactoolbox.h | -rw-r--r-- | 6.1 KB |
pymem.h | -rw-r--r-- | 5.1 KB |
pyport.h | -rw-r--r-- | 11.7 KB |
pystate.h | -rw-r--r-- | 2.7 KB |
pythonrun.h | -rw-r--r-- | 4.7 KB |
pythread.h | -rw-r--r-- | 1.4 KB |
rangeobject.h | -rw-r--r-- | 613 bytes |
sliceobject.h | -rw-r--r-- | 971 bytes |
stringobject.h | -rw-r--r-- | 5.9 KB |
structmember.h | -rw-r--r-- | 1.8 KB |
symtable.h | -rw-r--r-- | 3.5 KB |
sysmodule.h | -rw-r--r-- | 734 bytes |
token.h | -rw-r--r-- | 1.7 KB |
traceback.h | -rw-r--r-- | 571 bytes |
tupleobject.h | -rw-r--r-- | 1.5 KB |
ucnhash.h | -rw-r--r-- | 682 bytes |
unicodeobject.h | -rw-r--r-- | 37.9 KB |
Computing file changes ...