[Python-Dev] test_largefile.py failing on Linux

Mark Favas mark.favas@csiro.au
2002年3月12日 08:00:23 +0800


This test also fails on Tru64 Unix (V 4.0F), in the same manner - file
position is left at 0.
On the question as to whether a file can be grown using [f]truncate() on
this platform, the docs state:
"If the new length is greater than the previous length, new file data
between the previous end-of-file and the new end-of-file is added,
consisting of all zeros."
and claim
"Interfaces documented on this reference page conform to industry
standards as follows:
ftruncate(), truncate(): XPG4-UNIX"
-- 
Mark Favas - mark.favas@csiro.au
CSIRO, PO Box 1130, Bentley, Western Australia 6102, AUSTRALIA

AltStyle によって変換されたページ (->オリジナル) /