mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-19 10:49:25 +02:00
Merged revisions 1310 via svnmerge from
/trunk git-svn-id: branches/fixes_2_0@1311 -
This commit is contained in:
parent
8dfe55e39e
commit
e3017bf0bb
@ -71,7 +71,7 @@ var
|
||||
|
||||
begin
|
||||
TTYName:='';
|
||||
if (fpfstat(handle,st)=-1) and (isatty (handle)<>1) then
|
||||
if (fpfstat(handle,st)=-1) or (isatty (handle)<>1) then
|
||||
exit;
|
||||
mydev:=st.st_dev;
|
||||
myino:=st.st_ino;
|
||||
|
Loading…
Reference in New Issue
Block a user