[fpc-devel] TFile.ReadAllBytes broken in 3.2.4RC1

michael michael at freepascal.org
Mon Nov 3 12:41:37 CET 2025


On 2025-11-03 12:15, Bart via fpc-devel wrote:
> On Mon, Nov 3, 2025 at 1:58 AM michael via fpc-devel
> <fpc-devel at lists.freepascal.org> wrote:
> 
>> Actually, the ReadBuffer(Result,SIze) is broken due to
>> ReadBuffer(TBytes,Count) being broken.
>> Compiler does not select the correct overload, but the fix for that 
>> has
>> not been backported.
>> The solution would be to add offset zero.
> 
> Should I open a ticket?

Yes, please.
Note that AFAIK the compiler fix will not be backported, we just need to 
fix the call to ReadBuffer.

Michael.


More information about the fpc-devel mailing list