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
RPM
ACKS -rw-r--r-- 6.5 KB
AIX-NOTES -rw-r--r-- 7.3 KB
BeOS-NOTES -rw-r--r-- 1.4 KB
BeOS-setup.py -rw-r--r-- 24.6 KB
HISTORY -rw-r--r-- 305.2 KB
HPUX-NOTES -rw-r--r-- 1.0 KB
Makefile.pre.in -rw-r--r-- 10.0 KB
NEWS -rw-r--r-- 91.7 KB
PURIFY.README -rw-r--r-- 3.6 KB
Porting -rw-r--r-- 1.9 KB
README -rw-r--r-- 1.8 KB
RFD -rw-r--r-- 3.9 KB
cheatsheet -rw-r--r-- 99.9 KB
find_recursionlimit.py -rw-r--r-- 2.2 KB
gdbinit -rw-r--r-- 898 bytes
indent.pro -rw-r--r-- 66 bytes
python-mode.el -rw-r--r-- 120.6 KB
python.man -rw-r--r-- 10.6 KB
setuid-prog.c -rw-r--r-- 5.3 KB
unicode.txt -rw-r--r-- 112 bytes
vgrindefs -rw-r--r-- 505 bytes

README

back to top