mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 10:19:30 +02: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
|
||||
str(pid,s);
|
||||
assign(f,'/proc/'+s+'/stat');
|
||||
{$I-}
|
||||
reset(f);
|
||||
{$I+}
|
||||
if ioresult<>0 then
|
||||
break;
|
||||
read(f,dummy);
|
||||
|
Loading…
Reference in New Issue
Block a user