mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-28 02:41:31 +01:00
* disable iochecking when opening terminal (to avoid RTE of #11376).
This is damage control. The prime problem (text after pid) as described in that bugrepo still has to be fixed. git-svn-id: trunk@11462 -
This commit is contained in:
parent
3588a9d02c
commit
e6410f45c1
@ -95,7 +95,9 @@ begin
|
|||||||
repeat
|
repeat
|
||||||
str(pid,s);
|
str(pid,s);
|
||||||
assign(f,'/proc/'+s+'/stat');
|
assign(f,'/proc/'+s+'/stat');
|
||||||
|
{$I-}
|
||||||
reset(f);
|
reset(f);
|
||||||
|
{$I+}
|
||||||
if ioresult<>0 then
|
if ioresult<>0 then
|
||||||
break;
|
break;
|
||||||
read(f,dummy);
|
read(f,dummy);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user