Feature #138

Files64 - Support for files larger than 2GB

Added by I. Denisov over 2 years ago. Updated over 1 year ago.

Status:ClosedStart date:10/19/2016
Priority:NormalDue date:
Assignee:J. Templ% Done:

100%

Category:-
Target version:1.7.1
Forum topic:

Description

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.

Associated revisions

Revision aea1670e
Added by J. Templ over 2 years ago

Support for files larger than 2GB. Refs: #138.
New module Files64 added. This module is identical to Files
but uses LONGINT instead of INTEGER for the file length
and file positions.

Signed-off-by: Josef Templ <>

Revision 19149aed
Added by J. Templ over 2 years ago

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.

Revision 6bfb08f8
Added by J. Templ over 2 years ago

Files64 and HostFiles64 added to Build-Tool. Refs: #138.

Signed-off-by: Josef Templ <>

Revision be065833
Added by J. Templ about 2 years ago

Types Name, Type, LocInfo, and Locator merged with Files. Refs: #138.

Signed-off-by: Josef Templ <>

Revision 2f33ea39
Added by J. Templ about 2 years ago

some code reused from HostFiles. Refs: #138.
plus a fix in FileList where length is set.
Note added to docu.

Revision affb3c03
Added by J. Templ over 1 year ago

module Stores64 added. Refs: #138.

Signed-off-by: Josef Templ <>

Revision ae348855
Added by J. Templ over 1 year ago

changes in Dev/Docu/Build-Tool reverted. Refs: #138.
No longer needed because of issue-#162 (generic Build-Tool).

Signed-off-by: Josef Templ <>

Revision 0d207327
Added by J. Templ over 1 year ago

module interface added to Files64 docu. Refs: #138.

Signed-off-by: Josef Templ <>

History

#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.

#2 Updated by I. Denisov almost 2 years ago

  • Status changed from New to Dormant
  • Assignee deleted (J. Templ)
  • Target version deleted (1.7.1)
  • % Done changed from 0 to 10

#3 Updated by J. Templ over 1 year ago

  • Subject changed from Support for files larger than 2GB to Files64 - Support for files larger than 2GB
  • Description updated (diff)
  • Status changed from Dormant to In Progress
  • Assignee set to J. Templ
  • Target version set to 1.7.1

#4 Updated by R. Campbell over 1 year ago

  • Status changed from In Progress to Closed

#5 Updated by R. Campbell over 1 year ago

  • % Done changed from 10 to 100

Also available in: Atom PDF