Support for "TStrings" strings larger than 2GB on x64 systems. Patch.
Original Reporter info from Mantis: SergeAnvarov @SergeAnvarov
-
Reporter name: Serge Anvarov
Original Reporter info from Mantis: SergeAnvarov @SergeAnvarov
- Reporter name: Serge Anvarov
Description:
Periodically on the forum the question arises why the TStrings and its descendants are not able to save/load big data on x64 systems.
This patch offers such a solution. Only to put/get the whole value. Item indexes remain within "Integer".
Additional information:
It is not very complicated, just in a few places there is a replacement of "Integer" to "SizeInt".
Since the functions GetNextLine and GetNextLineBreak have already been defined with "var P: Integer", to avoid errors in old code when compiling on x64, duplicates of functions with Integer are made.
Mantis conversion info:
- Mantis ID: 35345
- Platform: x64
- Fixed in version: 3.3.1
- Fixed in revision: 41852 (#08d6b446)
- Target version: 3.2.0