[Python-Dev] test_largefile.py failing on Linux (original) (raw)
Skip Montanaro skip@pobox.com
Mon, 11 Mar 2002 11:46:08 -0600
- Previous message: [Python-Dev] test_largefile.py failing on Linux
- Next message: [Python-Dev] PEP 273 - Import from Zip Archives
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Tim> 1. The docs promise that truncate() will never grow the file. I
Tim> don't believe Unix ftruncate() promises that...
It does not. In fact, on my Mandrake box it explicitly says that behavior is unspecified:
If the file previously was shorter, it is unspecified whether the file
is left unchanged or is extended.
Skip
- Previous message: [Python-Dev] test_largefile.py failing on Linux
- Next message: [Python-Dev] PEP 273 - Import from Zip Archives
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]