mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-19 10:29:12 +02:00
Merged revisions 1308 via svnmerge from
/trunk git-svn-id: branches/fixes_2_0@1309 -
This commit is contained in:
parent
70ecf52448
commit
8dfe55e39e
@ -121,7 +121,7 @@ Function IsATTY (Handle:cint):cint;
|
||||
var
|
||||
t : Termios;
|
||||
begin
|
||||
IsAtty:=TCGetAttr(Handle,t);
|
||||
IsAtty:=ord(TCGetAttr(Handle,t) <> -1);
|
||||
end;
|
||||
|
||||
|
||||
|
@ -117,7 +117,7 @@ Function IsATTY (Handle:cint):cint;
|
||||
var
|
||||
t : Termios;
|
||||
begin
|
||||
IsAtty:=TCGetAttr(Handle,t);
|
||||
IsAtty:=ord(TCGetAttr(Handle,t) <> -1);
|
||||
end;
|
||||
|
||||
|
||||
|
@ -117,7 +117,7 @@ Function IsATTY (Handle:cint):cint;
|
||||
var
|
||||
t : Termios;
|
||||
begin
|
||||
IsAtty:=TCGetAttr(Handle,t);
|
||||
IsAtty:=ord(TCGetAttr(Handle,t) <> -1);
|
||||
end;
|
||||
|
||||
|
||||
|
@ -117,7 +117,7 @@ Function IsATTY (Handle:cint):cint;
|
||||
var
|
||||
t : Termios;
|
||||
begin
|
||||
IsAtty:=TCGetAttr(Handle,t);
|
||||
IsAtty:=ord(TCGetAttr(Handle,t) <> -1);
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user