mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 10:39:18 +02:00
* Better length check
This commit is contained in:
parent
0be4498284
commit
8af6fdefa8
@ -84,8 +84,11 @@ var
|
|||||||
|
|
||||||
begin
|
begin
|
||||||
ReadDebugLink:=ReadDebugLink(e,fn);
|
ReadDebugLink:=ReadDebugLink(e,fn);
|
||||||
if ReadDebugLink and (length(fn)<256) then
|
if ReadDebugLink then
|
||||||
dbgfn:=fn;
|
if (length(fn)<256) then
|
||||||
|
dbgfn:=fn
|
||||||
|
else
|
||||||
|
ReadDebugLink:=False;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user