[Vm-beginners] Eureka! FileHandleTest>>#testTruncate Pharo test
case for FilePlugin/ CogVM on 64bit linux
Markus Fritsche
mfritsche at reauktion.de
Fri Apr 11 13:45:44 UTC 2014
>> I am not sure if this is architecture or file system related yet.
> Same on ext4fs, so it's not caused by the file system.
As by
http://stackoverflow.com/questions/13494417/ftruncate-on-file-opened-with-fopen
- a file descriptor needs to be flushed before being truncated. It seems
to be coincidence that this has worked on 32 bit systems.
The FilePlugin doesn't do that. Should the FileHandle class be changed
for this, the Plugin code, or is the test invalid?
Kind regards
Markus
More information about the VM-beginners
mailing list