Переглянути джерело

* 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 роки тому
батько
коміт
e6410f45c1
1 змінених файлів з 2 додано та 0 видалено
  1. 2 0
      rtl/linux/linuxvcs.pp

+ 2 - 0
rtl/linux/linuxvcs.pp

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