Staging
v0.5.1
https://github.com/python/cpython
Revision 6e13a562ae01a962612ca76f9afcc7211240236e authored by Tim Peters on 06 September 2001, 00:32:15 UTC, committed by Tim Peters on 06 September 2001, 00:32:15 UTC
Curious:  the MS docs say stati64 etc are supported even on Win95, but
Win95 doesn't support a filesystem that allows partitions > 2 Gb.

test_largefile:  This was opening its test file in text mode.  I have no
idea how that worked under Win64, but it sure needs binary mode on Win98.
BTW, on Win98 test_largefile runs quickly (under a second).
1 parent 97f4a33
Raw File
Tip revision: 6e13a562ae01a962612ca76f9afcc7211240236e authored by Tim Peters on 06 September 2001, 00:32:15 UTC
Enable large file support on Win32 systems.
Tip revision: 6e13a56
ccpython.cc
/* Minimal main program -- everything is loaded from the library */

#include "Python.h"

extern "C"
DL_EXPORT(int) Py_Main( int argc, char *argv[] );

int main( int argc, char *argv[] )
{
	return Py_Main(argc, argv);
}
back to top