mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-28 20:00:15 +02:00
fixed broken do_isdevice
git-svn-id: trunk@4666 -
This commit is contained in:
parent
f3d6975f0b
commit
e83e8d0695
@ -19,7 +19,9 @@
|
|||||||
|
|
||||||
function do_isdevice(handle:longint):boolean;
|
function do_isdevice(handle:longint):boolean;
|
||||||
begin
|
begin
|
||||||
do_isdevice:=false;
|
do_isdevice:= (handle=StdInputHandle) or
|
||||||
|
(handle=StdOutputHandle) or
|
||||||
|
(handle=StdErrorHandle);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ close a file from the handle value }
|
{ close a file from the handle value }
|
||||||
|
Loading…
Reference in New Issue
Block a user