mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 05:30:45 +02:00
DBG: Fixed error handling for pseudo terminal
git-svn-id: trunk@32266 -
This commit is contained in:
parent
7fe312098e
commit
4afba661fa
@ -548,6 +548,8 @@ var
|
||||
buf: String;
|
||||
i: Integer;
|
||||
begin
|
||||
if (FPTy = InvalHandle) then exit'');
|
||||
|
||||
SetLength(buf, BufLen + 1);
|
||||
Result := FReadBuf;
|
||||
FReadBuf := '';
|
||||
|
Loading…
Reference in New Issue
Block a user