• Tim Peters's avatar
    file_truncate(): provide full "large file" support on Windows, by · fb05db2c
    Tim Peters yazdı
    dropping MS's inadequate _chsize() function.  This was inspired by
    SF patch 498109 ("fileobject truncate support for win32"), which I
    rejected.
    
    libstdtypes.tex:  Someone who knows should update the availability
    blurb.  For example, if it's available on Linux, it would be good to
    say so.
    
    test_largefile:  Uncommented the file.truncate() tests, and reworked to
    do more.  The old comment about "permission errors" in the truncation
    tests under Windows was almost certainly due to that the file wasn't open
    for *write* access at this point, so of course MS wouldn't let you
    truncate it.  I'd be appalled if a Unixish system did.
    
    CAUTION:  Someone should run this test on Linux (etc) too.  The
    truncation part was commented out before.  Note that test_largefile isn't
    run by default.
    fb05db2c
Adı
Son kayıt (commit)
Son güncelleme
..
RPM Loading commit data...
ACKS Loading commit data...
AIX-NOTES Loading commit data...
BeOS-NOTES Loading commit data...
BeOS-setup.py Loading commit data...
HISTORY Loading commit data...
HPUX-NOTES Loading commit data...
NEWS Loading commit data...
PURIFY.README Loading commit data...
Porting Loading commit data...
README Loading commit data...
RFD Loading commit data...
cheatsheet Loading commit data...
find_recursionlimit.py Loading commit data...
gdbinit Loading commit data...
indent.pro Loading commit data...
python-mode.el Loading commit data...
python.man Loading commit data...
setuid-prog.c Loading commit data...
vgrindefs Loading commit data...