2
0
Эх сурвалжийг харах

* 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 -

marco 17 жил өмнө
parent
commit
e6410f45c1

+ 2 - 0
rtl/linux/linuxvcs.pp

@@ -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);