mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 09:19:22 +02:00
FpDebug: Linux, fix reading proc/maps to get loaded libraries.
(cherry picked from commit 6f1cd0c4b5
)
This commit is contained in:
parent
3872ad8091
commit
772bc3236b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user