FpDebug: Linux, fix reading proc/maps to get loaded libraries.

(cherry picked from commit 6f1cd0c4b5)
This commit is contained in:
Martin 2025-01-07 12:54:05 +01:00
parent 3872ad8091
commit 772bc3236b

View File

@ -1119,7 +1119,7 @@ begin
SetLength(Buf, TotalBytesRead + BlockLength);
BytesRead := FS.Read(Buf[TotalBytesRead+1], BlockLength);
TotalBytesRead:=TotalBytesRead+BytesRead;
until BytesRead <= BlockLength;
until BytesRead <= 0;
SetLength(Buf, TotalBytesRead);
finally
FS.Free;