DBG: Fixed error handling for pseudo terminal

git-svn-id: trunk@32266 -
This commit is contained in:
martin 2011-09-10 20:41:03 +00:00
parent 7fe312098e
commit 4afba661fa

View File

@ -548,6 +548,8 @@ var
buf: String;
i: Integer;
begin
if (FPTy = InvalHandle) then exit'');
SetLength(buf, BufLen + 1);
Result := FReadBuf;
FReadBuf := '';