Staging
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
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
example_nt
os2vacpp
WinMain.c -rw-r--r-- 482 bytes
_winreg.c -rw-r--r-- 41.9 KB
config.c -rw-r--r-- 2.9 KB
dl_nt.c -rw-r--r-- 908 bytes
dllbase_nt.txt -rw-r--r-- 2.2 KB
frozen_dllmain.c -rw-r--r-- 3.6 KB
getpathp.c -rw-r--r-- 15.4 KB
import_nt.c -rw-r--r-- 2.3 KB
msvcrtmodule.c -rwxr-xr-x 4.8 KB
py.ico -rw-r--r-- 766 bytes
pyc.ico -rw-r--r-- 766 bytes
pycon.ico -rw-r--r-- 766 bytes
pyconfig.h -rw-r--r-- 17.5 KB
python.mk -rw-r--r-- 234 bytes
python_exe.rc -rw-r--r-- 49 bytes
python_nt.rc -rw-r--r-- 2.2 KB
readme.txt -rw-r--r-- 4.1 KB
testpy.py -rw-r--r-- 850 bytes
w9xpopen.c -rw-r--r-- 1.7 KB
winsound.c -rw-r--r-- 6.5 KB

readme.txt

back to top