Files64 - Support for files larger than 2GB
|Assignee:||J. Templ||% Done:|
It is proposed to add support for files larger than MAX, which is about 2GB.
Similar to Files/HostFiles, the pair of modules Files64/HostFiles64 should be added to BlackBox.
In addition, Stores.Reader and Stores.Writer operations working on Files64 should be supported in
a new module Stores64.
check of file length overflow improved. Refs: #138.
File length overflow also checked for FileInfo.
Any overflow sets length to -1 in case of overflow.
This allows one in principle to check for an overflow after calling Old.
If not checked, a trap is generated in SetPos anyway, thus an
overflow is never undetected when a file is processed.
some code reused from HostFiles. Refs: #138.
plus a fix in FileList where length is set.
Note added to docu.
#1 Updated by J. Templ over 2 years ago
- Subject changed from Support for files larger than 2Gb to Support for files larger than 2GB
- Assignee set to J. Templ
An additional module Files64 is required for supporting files larger than 2GB. This module should have the same interface as Files but uses the type LONGINT for the file length and file positions.